X-Git-Url: https://git.pterodactylus.net/?a=blobdiff_plain;ds=sidebyside;f=synfig-studio%2Ftags%2Fstable%2Fsrc%2Fgtkmm%2Flayeractionmanager.cpp;h=0fa5bed975889c2f2ebacf518fe07266e64f48ed;hb=72dc78092947e9abef71cc98651a11495682bbaf;hp=fd9a9c7c51a2b98515101895ccea5a8a3e5f1675;hpb=4cb5360f578f79e5d9e234570018d762ea0a964f;p=synfig.git
diff --git a/synfig-studio/tags/stable/src/gtkmm/layeractionmanager.cpp b/synfig-studio/tags/stable/src/gtkmm/layeractionmanager.cpp
index fd9a9c7..0fa5bed 100644
--- a/synfig-studio/tags/stable/src/gtkmm/layeractionmanager.cpp
+++ b/synfig-studio/tags/stable/src/gtkmm/layeractionmanager.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
@@ -301,7 +302,7 @@ LayerActionManager::refresh()
}
}
- ui_info="";
+ ui_info="";
popup_id_=get_ui_manager()->add_ui_from_string(ui_info);
#ifdef ONE_ACTION_GROUP
#else
@@ -432,7 +433,7 @@ LayerActionManager::amount_inc()
while(!layer_list.empty())
{
ValueBase value(layer_list.front()->get_param("amount"));
- if(value.same_as(Real()))
+ if(value.same_type_as(Real()))
{
get_canvas_interface()->change_value(synfigapp::ValueDesc(layer_list.front(),"amount"),value.get(Real())+adjust);
}
@@ -456,7 +457,7 @@ LayerActionManager::amount_dec()
while(!layer_list.empty())
{
ValueBase value(layer_list.front()->get_param("amount"));
- if(value.same_as(Real()))
+ if(value.same_type_as(Real()))
{
get_canvas_interface()->change_value(synfigapp::ValueDesc(layer_list.front(),"amount"),value.get(Real())+adjust);
}