diff options
author | Javier Jardón <jjardon@gnome.org> | 2010-08-24 21:11:36 +0200 |
---|---|---|
committer | Javier Jardón <jjardon@gnome.org> | 2010-08-24 23:49:21 +0200 |
commit | 72fad93587a4f4c6d60e613e86b4a85e0f1f31d6 (patch) | |
tree | 3f19cb5812ffcf2abb5205e20160f0b202fb8aa8 /tests/testsocket.c | |
parent | 1abb8f6e7fa9999a68798e44348d2426b901de39 (diff) | |
download | gtk+-72fad93587a4f4c6d60e613e86b4a85e0f1f31d6.tar.gz |
tests/testsocket: Fix broken test
Fixes https://bugzilla.gnome.org/show_bug.cgi?id=627867
Diffstat (limited to 'tests/testsocket.c')
-rw-r--r-- | tests/testsocket.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/tests/testsocket.c b/tests/testsocket.c index b4ef476581..b8310fce64 100644 --- a/tests/testsocket.c +++ b/tests/testsocket.c @@ -326,12 +326,13 @@ main (int argc, char *argv[]) menubar = gtk_menu_bar_new (); menuitem = gtk_menu_item_new_with_mnemonic ("_File"); + gtk_menu_shell_append (GTK_MENU_SHELL (menubar), menuitem); + menu = gtk_menu_new (); gtk_menu_item_set_submenu (GTK_MENU_ITEM (menuitem), menu); menuitem = gtk_menu_item_new_with_mnemonic ("_Quit"); g_signal_connect (menuitem, "activate", G_CALLBACK (quit_cb), window); gtk_menu_shell_append (GTK_MENU_SHELL (menu), menuitem); - gtk_menu_shell_append (GTK_MENU_SHELL (menubar), menuitem); accel_group = gtk_accel_group_new (); gtk_window_add_accel_group (GTK_WINDOW (window), accel_group); |