X-Git-Url: https://git.pterodactylus.net/?a=blobdiff_plain;f=synfig-studio%2Ftrunk%2Fsrc%2Fsynfigapp%2Finstance.cpp;h=1dd1171a0e95d8fcd35e73eb65d8b46890176b34;hb=9fec9e45acee8a602a11699eac2dea3a0bfe4154;hp=c4a93975e99a6e978ca7fb71563ca644c76bb176;hpb=68db7e76950f4b4f55ef29016d73e24e1e097936;p=synfig.git diff --git a/synfig-studio/trunk/src/synfigapp/instance.cpp b/synfig-studio/trunk/src/synfigapp/instance.cpp index c4a9397..1dd1171 100644 --- a/synfig-studio/trunk/src/synfigapp/instance.cpp +++ b/synfig-studio/trunk/src/synfigapp/instance.cpp @@ -6,6 +6,7 @@ ** ** \legal ** Copyright (c) 2002-2005 Robert B. Quattlebaum Jr., Adrian Bentley +** Copyright (c) 2007 Chris Moore ** ** This package is free software; you can redistribute it and/or ** modify it under the terms of the GNU General Public License as @@ -148,18 +149,6 @@ Instance::save()const } bool -Instance::save_as(const std::string &file_name)const -{ - bool ret=save_canvas(file_name,canvas_); - if(ret) - { - reset_action_count(); - const_cast& >(signal_saved_)(); - } - return ret; -} - -bool Instance::save_as(const std::string &file_name) { bool ret; @@ -176,9 +165,7 @@ Instance::save_as(const std::string &file_name) signal_saved_(); } else - { set_file_name(old_file_name); - } signal_filename_changed_();