1From a703e2406fda3dc150574ae2f90cb5f4810d0601 Mon Sep 17 00:00:00 2001
2From: Khem Raj <raj.khem@gmail.com>
3Date: Mon, 29 Aug 2022 00:25:19 -0700
4Subject: [PATCH] Fix signature of create_menu() function
5
6Upstream-Status: Inappropriate [EOL]
7Signed-off-by: Khem Raj <raj.khem@gmail.com>
8---
9 tests/testmenubars.c | 8 ++++----
10 1 file changed, 4 insertions(+), 4 deletions(-)
11
12diff --git a/tests/testmenubars.c b/tests/testmenubars.c
13index 416a939..7f247f8 100644
14--- a/tests/testmenubars.c
15+++ b/tests/testmenubars.c
16@@ -21,7 +21,7 @@
17 #include <gtk/gtk.h>
18
19 static GtkWidget *
20-create_menu (depth)
21+create_menu (int depth)
22 {
23     GtkWidget *menu;
24     GtkWidget *menuitem;
25@@ -70,19 +70,19 @@ create_menubar (GtkPackDirection pack_dir,
26   menuitem = gtk_image_menu_item_new_from_stock (GTK_STOCK_HOME, NULL);
27   gtk_menu_shell_append (GTK_MENU_SHELL (menubar), menuitem);
28   gtk_label_set_angle (GTK_LABEL (GTK_BIN (menuitem)->child), angle);
29-  menu = create_menu (2, TRUE);
30+  menu = create_menu (2);
31   gtk_menu_item_set_submenu (GTK_MENU_ITEM (menuitem), menu);
32
33   menuitem = gtk_menu_item_new_with_label ("foo");
34   gtk_menu_shell_append (GTK_MENU_SHELL (menubar), menuitem);
35   gtk_label_set_angle (GTK_LABEL (GTK_BIN (menuitem)->child), angle);
36-  menu = create_menu (2, TRUE);
37+  menu = create_menu (2);
38   gtk_menu_item_set_submenu (GTK_MENU_ITEM (menuitem), menu);
39
40   menuitem = gtk_menu_item_new_with_label ("bar");
41   gtk_menu_shell_append (GTK_MENU_SHELL (menubar), menuitem);
42   gtk_label_set_angle (GTK_LABEL (GTK_BIN (menuitem)->child), angle);
43-  menu = create_menu (2, TRUE);
44+  menu = create_menu (2);
45   gtk_menu_item_set_submenu (GTK_MENU_ITEM (menuitem), menu);
46
47   return menubar;
48--
492.37.2
50
51