From: dooglus Date: Tue, 19 Feb 2008 15:34:20 +0000 (+0000) Subject: Prevent a warning "Gtk-CRITICAL **: gtk_action_set_action_group: assertion `action_gr... X-Git-Url: https://git.pterodactylus.net/?a=commitdiff_plain;h=ae678b6619886cf7bed78bf64b38bdf2deafb5f4;p=synfig.git Prevent a warning "Gtk-CRITICAL **: gtk_action_set_action_group: assertion `action_group == NULL' failed" caused by adding an action to more than one group. git-svn-id: http://svn.voria.com/code@1758 1f10aa63-cdf2-0310-b900-c93c546f37ac --- diff --git a/synfig-studio/trunk/src/gtkmm/layeractionmanager.cpp b/synfig-studio/trunk/src/gtkmm/layeractionmanager.cpp index 3191970..321a069 100644 --- a/synfig-studio/trunk/src/gtkmm/layeractionmanager.cpp +++ b/synfig-studio/trunk/src/gtkmm/layeractionmanager.cpp @@ -304,7 +304,6 @@ LayerActionManager::refresh() } else action_select_all_child_layers_->set_sensitive(false); - action_group_->add(action_select_all_child_layers_); handle::cast_static(get_canvas_interface()->get_instance())-> add_actions_to_group(action_group_, ui_info, param_list, synfigapp::Action::CATEGORY_LAYER);