diff options
author | Javier Jardón <jjardon@gnome.org> | 2010-05-03 02:56:29 +0200 |
---|---|---|
committer | Javier Jardón <jjardon@gnome.org> | 2010-05-03 02:59:35 +0200 |
commit | bcfc53066ae54d0adbf282d5678d9a4a7083b4d3 (patch) | |
tree | 2d35521aa8623e2ba3e15bba6d703c58e938ea89 | |
parent | dc00452d34403ba086ccb25dfa95e47860e64acc (diff) | |
download | gtk+-bcfc53066ae54d0adbf282d5678d9a4a7083b4d3.tar.gz |
tests: Too many arguments in call to 'create_menu'
-rw-r--r-- | tests/testmenubars.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/tests/testmenubars.c b/tests/testmenubars.c index 416a939861..853d822a9b 100644 --- a/tests/testmenubars.c +++ b/tests/testmenubars.c @@ -21,7 +21,7 @@ #include <gtk/gtk.h> static GtkWidget * -create_menu (depth) +create_menu (guint depth) { GtkWidget *menu; GtkWidget *menuitem; @@ -70,19 +70,19 @@ create_menubar (GtkPackDirection pack_dir, menuitem = gtk_image_menu_item_new_from_stock (GTK_STOCK_HOME, NULL); gtk_menu_shell_append (GTK_MENU_SHELL (menubar), menuitem); gtk_label_set_angle (GTK_LABEL (GTK_BIN (menuitem)->child), angle); - menu = create_menu (2, TRUE); + menu = create_menu (2); gtk_menu_item_set_submenu (GTK_MENU_ITEM (menuitem), menu); menuitem = gtk_menu_item_new_with_label ("foo"); gtk_menu_shell_append (GTK_MENU_SHELL (menubar), menuitem); gtk_label_set_angle (GTK_LABEL (GTK_BIN (menuitem)->child), angle); - menu = create_menu (2, TRUE); + menu = create_menu (2); gtk_menu_item_set_submenu (GTK_MENU_ITEM (menuitem), menu); menuitem = gtk_menu_item_new_with_label ("bar"); gtk_menu_shell_append (GTK_MENU_SHELL (menubar), menuitem); gtk_label_set_angle (GTK_LABEL (GTK_BIN (menuitem)->child), angle); - menu = create_menu (2, TRUE); + menu = create_menu (2); gtk_menu_item_set_submenu (GTK_MENU_ITEM (menuitem), menu); return menubar; |