}
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"));
Layer::Handle layer(add_layer_to("PasteCanvas",get_canvas()));
if(!layer)
- throw String(_("Unable to create \"PasteCanvas\" layer"));
+ throw String(_("Unable to create \"Paste Canvas\" layer"));
if(!layer->set_param("canvas",ValueBase(outside_canvas)))
throw int();
return false;
}
-
-
if(!Importer::book().count(ext))
{
get_ui_interface()->error(_("I don't know how to open images of this type -- ")+ext);
void
-CanvasInterface::auto_export(ValueNode::Handle value_node)
+CanvasInterface::auto_export(ValueNode::Handle /*value_node*/)
{
/*
// Check to see if we are already exported.
}
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