GNOME Bugzilla – Bug 735128
Fix critical warnings when opening context menu
Last modified: 2014-08-25 14:57:58 UTC
This patch fixes the critical warnings we get when opening the context menu.
Created attachment 284015 [details] [review] Fix critical warnings when opening context menu Opening the context menu causes this critical to print for each menu item: Gtk-CRITICAL **: gtk_accel_label_set_accel_closure: assertion 'gtk_accel_group_from_accel_closure (accel_closure) != NULL' failed
Review of attachment 284015 [details] [review]: Thanks! ::: src/ephy-window.c @@ +1208,3 @@ g_object_unref (action); + gtk_action_group_set_accel_group (action_group, gtk_ui_manager_get_accel_group (manager)); I guess we can call gtk_ui_manager_get_accel_group (manager) only once using a local variable.
The following fix has been pushed: fb1be7f Fix critical warnings when opening context menu
Created attachment 284412 [details] [review] Fix critical warnings when opening context menu Opening the context menu causes this critical to print for each menu item: Gtk-CRITICAL **: gtk_accel_label_set_accel_closure: assertion 'gtk_accel_group_from_accel_closure (accel_closure) != NULL' failed