summaryrefslogtreecommitdiff
path: root/examples/menu/menu.c
diff options
context:
space:
mode:
Diffstat (limited to 'examples/menu/menu.c')
-rw-r--r--examples/menu/menu.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/examples/menu/menu.c b/examples/menu/menu.c
index 970c2fe61..94271df94 100644
--- a/examples/menu/menu.c
+++ b/examples/menu/menu.c
@@ -69,7 +69,7 @@ int main( int argc,
/* Now we specify that we want our newly created "menu" to be the menu
* for the "root menu" */
- gtk_menu_item_set_submenu (GTK_MENU_ITEM (root_menu), h);
+ gtk_menu_item_set_submenu (GTK_MENU_ITEM (root_menu), menu);
/* A vbox to put a menu and a button in: */
vbox = gtk_vbox_new (FALSE, 0);