Commit 255c3a08 authored by Lars Uebernickel's avatar Lars Uebernickel Committed by Allison Karlitskaya

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
parent 4e8fa558
......@@ -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);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment