diff options
author | Ted Gould <ted@gould.cx> | 2011-04-15 10:59:07 -0500 |
---|---|---|
committer | Ted Gould <ted@gould.cx> | 2011-04-15 10:59:07 -0500 |
commit | 3121fee23fd19cd773fe40f3e3f6dfd53581e3b7 (patch) | |
tree | 24ac778802673904bc03c0aeb0325009d44c5749 /libdbusmenu-gtk | |
parent | f89f8476599522aa7fbb61e4c0605d639a1be45e (diff) | |
download | libdbusmenu-3121fee23fd19cd773fe40f3e3f6dfd53581e3b7.tar.gz libdbusmenu-3121fee23fd19cd773fe40f3e3f6dfd53581e3b7.tar.bz2 libdbusmenu-3121fee23fd19cd773fe40f3e3f6dfd53581e3b7.zip |
Oops, wrong object type
Diffstat (limited to 'libdbusmenu-gtk')
-rw-r--r-- | libdbusmenu-gtk/parser.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libdbusmenu-gtk/parser.c b/libdbusmenu-gtk/parser.c index f21e548..d2cb287 100644 --- a/libdbusmenu-gtk/parser.c +++ b/libdbusmenu-gtk/parser.c @@ -300,7 +300,7 @@ parse_menu_structure_helper (GtkWidget * widget, RecurseContext * recurse) /* If the item is not opening a submenu we don't want to activate it as that'd cause an action. Like opening a preferences dialog to the user. That's not a good idea. */ - if (gtk_menu_item_get_submenu(GTK_WIDGET(iter->data)) == NULL) { + if (gtk_menu_item_get_submenu(GTK_MENU_ITEM(iter->data)) == NULL) { continue; } |