[gtk+] GtkMenuTracker: set action namespace correctly
- From: Ryan Lortie <desrt src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gtk+] GtkMenuTracker: set action namespace correctly
- Date: Tue, 12 Nov 2013 20:42:31 +0000 (UTC)
commit 255c3a081e569a8b68a99a50664706a6cf47e71c
Author: Lars Uebernickel <lars uebernickel canonical com>
Date: Tue Nov 12 12:08:57 2013 +0100
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
gtk/gtkmenutracker.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/gtk/gtkmenutracker.c b/gtk/gtkmenutracker.c
index c9e8459..6f0f4ba 100644
--- a/gtk/gtkmenutracker.c
+++ b/gtk/gtkmenutracker.c
@@ -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);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]