From: dooglus Date: Wed, 19 Nov 2008 13:42:49 +0000 (+0000) Subject: 'queued' is an integer not a bool, so set it to 0 not false. X-Git-Url: https://git.pterodactylus.net/?a=commitdiff_plain;h=32c421aad6d992369c17033fa72d40ea43a6c9f0;p=synfig.git 'queued' is an integer not a bool, so set it to 0 not false. git-svn-id: https://synfig.svn.sourceforge.net/svnroot/synfig@2219 1f10aa63-cdf2-0310-b900-c93c546f37ac --- diff --git a/synfig-studio/trunk/src/gtkmm/layerparamtreestore.cpp b/synfig-studio/trunk/src/gtkmm/layerparamtreestore.cpp index 90a88c0..74d73da 100644 --- a/synfig-studio/trunk/src/gtkmm/layerparamtreestore.cpp +++ b/synfig-studio/trunk/src/gtkmm/layerparamtreestore.cpp @@ -79,7 +79,7 @@ LayerParamTreeStore::LayerParamTreeStore(etl::loose_handlesignal_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());