Same as the last commit, except for the 'splash screen' that is shown while Studio...
[synfig.git] / synfig-studio / trunk / src / synfigapp / canvasinterface.cpp
index 45882a9..1757952 100644 (file)
@@ -463,7 +463,7 @@ CanvasInterface::jump_to_prev_keyframe()
 }
 
 bool
-CanvasInterface::import(const synfig::String &filename, bool copy)
+CanvasInterface::import(const synfig::String &filename, bool /*copy*/)
 {
        Action::PassiveGrouper group(get_instance().get(),_("Import Image"));
 
@@ -487,7 +487,7 @@ CanvasInterface::import(const synfig::String &filename, bool copy)
                if(!outside_canvas)
                        throw String(_("Unable to open this composition"));
 
-               Layer::Handle layer(add_layer_to("paste_canvas",get_canvas()));
+               Layer::Handle layer(add_layer_to("PasteCanvas",get_canvas()));
                if(!layer)
                        throw String(_("Unable to create \"Paste Canvas\" layer"));
                if(!layer->set_param("canvas",ValueBase(outside_canvas)))
@@ -508,8 +508,6 @@ CanvasInterface::import(const synfig::String &filename, bool copy)
                return false;
        }
 
-
-
        if(!Importer::book().count(ext))
        {
                get_ui_interface()->error(_("I don't know how to open images of this type -- ")+ext);
@@ -617,7 +615,7 @@ CanvasInterface::waypoint_remove(synfigapp::ValueDesc value_desc,synfig::Waypoin
 
 
 void
-CanvasInterface::auto_export(ValueNode::Handle value_node)
+CanvasInterface::auto_export(ValueNode::Handle /*value_node*/)
 {
 /*
        // Check to see if we are already exported.
@@ -643,7 +641,7 @@ CanvasInterface::auto_export(ValueNode::Handle value_node)
 }
 
 void
-CanvasInterface::auto_export(const ValueDesc& value_desc)
+CanvasInterface::auto_export(const ValueDesc& /*value_desc*/)
 {
        // THIS FUNCTION IS DEPRECATED, AND IS NOW A STUB.
 #if 0