projects
/
synfig.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Tidying.
[synfig.git]
/
synfig-studio
/
trunk
/
src
/
synfigapp
/
instance.cpp
diff --git
a/synfig-studio/trunk/src/synfigapp/instance.cpp
b/synfig-studio/trunk/src/synfigapp/instance.cpp
index
95d7df4
..
fd62d75
100644
(file)
--- a/
synfig-studio/trunk/src/synfigapp/instance.cpp
+++ b/
synfig-studio/trunk/src/synfigapp/instance.cpp
@@
-2,7
+2,7
@@
/*! \file synfigapp/instance.cpp
** \brief Instance
**
/*! \file synfigapp/instance.cpp
** \brief Instance
**
-** $Id
: instance.cpp,v 1.1.1.1 2005/01/07 03:34:37 darco Exp
$
+** $Id$
**
** \legal
** Copyright (c) 2002-2005 Robert B. Quattlebaum Jr., Adrian Bentley
**
** \legal
** Copyright (c) 2002-2005 Robert B. Quattlebaum Jr., Adrian Bentley
@@
-60,7
+60,6
@@
bool
synfigapp::is_editable(synfig::ValueNode::Handle value_node)
{
if(ValueNode_Const::Handle::cast_dynamic(value_node)
synfigapp::is_editable(synfig::ValueNode::Handle value_node)
{
if(ValueNode_Const::Handle::cast_dynamic(value_node)
- || ValueNode_TimedSwap::Handle::cast_dynamic(value_node)
|| ValueNode_Animated::Handle::cast_dynamic(value_node)
|| ValueNode_Composite::Handle::cast_dynamic(value_node)
|| ValueNode_RadialComposite::Handle::cast_dynamic(value_node)
|| ValueNode_Animated::Handle::cast_dynamic(value_node)
|| ValueNode_Composite::Handle::cast_dynamic(value_node)
|| ValueNode_RadialComposite::Handle::cast_dynamic(value_node)
@@
-149,18
+148,6
@@
Instance::save()const
}
bool
}
bool
-Instance::save_as(const std::string &file_name)const
-{
- bool ret=save_canvas(file_name,canvas_);
- if(ret)
- {
- reset_action_count();
- const_cast<sigc::signal<void>& >(signal_saved_)();
- }
- return ret;
-}
-
-bool
Instance::save_as(const std::string &file_name)
{
bool ret;
Instance::save_as(const std::string &file_name)
{
bool ret;
@@
-177,9
+164,7
@@
Instance::save_as(const std::string &file_name)
signal_saved_();
}
else
signal_saved_();
}
else
- {
set_file_name(old_file_name);
set_file_name(old_file_name);
- }
signal_filename_changed_();
signal_filename_changed_();