GNOME Bugzilla – Bug 708150
GtkWidget: Add gtk_widget_remove_action_group()?
Last modified: 2013-09-17 11:07:48 UTC
gtk_widget_insert_action_group() https://developer.gnome.org/gtk3/unstable/GtkWidget.html#gtk-widget-insert-action-group seems to be a replacement for gtk_ui_manager_insert_action_group(). Shouldn't there also be some equivalent for gtk_ui_manager_remove_action_group()? https://developer.gnome.org/gtk3/unstable/GtkUIManager.html#gtk-ui-manager-remove-action-group This would be useful when dynamically-building a menu, because it would let me just remove the existing action group and create a new one.
It is not documented, but gtk_widget_insert_action_group (widget, name, NULL) will remove a previously inserted action group
Thanks for fixing that: https://git.gnome.org/browse/gtk+/commit/gtk/gtkwidget.c?id=58e9e9d3163d32badf54e0348787f493f9109d33