'queued' is an integer not a bool, so set it to 0 not false.
authordooglus <dooglus@1f10aa63-cdf2-0310-b900-c93c546f37ac>
Wed, 19 Nov 2008 13:42:49 +0000 (13:42 +0000)
committerdooglus <dooglus@1f10aa63-cdf2-0310-b900-c93c546f37ac>
Wed, 19 Nov 2008 13:42:49 +0000 (13:42 +0000)
git-svn-id: https://synfig.svn.sourceforge.net/svnroot/synfig@2219 1f10aa63-cdf2-0310-b900-c93c546f37ac

synfig-studio/trunk/src/gtkmm/layerparamtreestore.cpp

index 90a88c0..74d73da 100644 (file)
@@ -79,7 +79,7 @@ LayerParamTreeStore::LayerParamTreeStore(etl::loose_handle<synfigapp::CanvasInte
        CanvasTreeStore                 (canvas_interface_),
        layer_tree                              (layer_tree)
 {
-       queued=false;
+       queued=0;
        // Connect all the signals
        canvas_interface()->signal_value_node_changed().connect(sigc::mem_fun(*this,&studio::LayerParamTreeStore::on_value_node_changed));
        canvas_interface()->signal_value_node_renamed().connect(sigc::mem_fun(*this,&studio::LayerParamTreeStore::on_value_node_renamed));
@@ -303,7 +303,7 @@ void
 LayerParamTreeStore::rebuild()
 {
        // Profiler profiler("LayerParamTreeStore::rebuild()");
-       if(queued)queued=false;
+       if(queued)queued=0;
        clear();
        layer_list=layer_tree->get_selected_layers();
 
@@ -474,7 +474,7 @@ LayerParamTreeStore::queue_rebuild()
 void
 LayerParamTreeStore::refresh()
 {
-       if(queued)queued=false;
+       if(queued)queued=0;
 
        Gtk::TreeModel::Children children_(children());