forked from AuroraMiddleware/gtk
GtkMenuTracker: set action namespace correctly
gtk_menu_tracker_add_items() fetched the action-namespace from the menu item, but didn't pass it into gtk_menu_tracker_section_new() when its internal namespace was still NULL. https://bugzilla.gnome.org/show_bug.cgi?id=712164
This commit is contained in:
parent
4e8fa55827
commit
255c3a081e
@ -290,7 +290,7 @@ gtk_menu_tracker_add_items (GtkMenuTracker *tracker,
|
||||
g_free (namespace);
|
||||
}
|
||||
else
|
||||
subsection = gtk_menu_tracker_section_new (tracker, submenu, FALSE, offset, section->action_namespace);
|
||||
subsection = gtk_menu_tracker_section_new (tracker, submenu, FALSE, offset, action_namespace);
|
||||
|
||||
*change_point = g_slist_prepend (*change_point, subsection);
|
||||
g_free (action_namespace);
|
||||
|
Loading…
Reference in New Issue
Block a user