summaryrefslogtreecommitdiff
path: root/archivers/cxunzip/patches/patch-ac
blob: 6c5193025ecbf8547d4dcae3b5fd6b42fb3ba0cb (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
--- src/menu.hh.orig	2003-10-06 21:18:37.000000000 +1000
+++ src/menu.hh	2003-10-06 21:18:43.000000000 +1000
@@ -38,34 +38,34 @@
 	GNOMEUIINFO_END
 };
 
-GnomeUIInfo actionsmenu[] = {
-	(GnomeUIInfo){GNOME_APP_UI_ITEM,
+static GnomeUIInfo actionsmenu[] = {
+	{GNOME_APP_UI_ITEM,
 		      N_("_Uncompress..."),N_("Uncompress archive"),
-		      uncompress_file_callback,NULL,NULL,
+		      (gpointer)uncompress_file_callback,NULL,NULL,
 		      GNOME_APP_PIXMAP_STOCK,GNOME_STOCK_MENU_CONVERT,
 		      'U',GDK_CONTROL_MASK,NULL},
-	(GnomeUIInfo){GNOME_APP_UI_ITEM,
+	{GNOME_APP_UI_ITEM,
 		      N_("_View..."),N_("View selected file from archive"),
-		      view_callback,NULL,NULL,
+		      (gpointer)view_callback,NULL,NULL,
 		      GNOME_APP_PIXMAP_STOCK,GNOME_STOCK_MENU_INDEX,
 		      'V',GDK_CONTROL_MASK,NULL},
-	(GnomeUIInfo){GNOME_APP_UI_ITEM,
+	{GNOME_APP_UI_ITEM,
 		      N_("_Test..."),N_("Test archive"),
-		      test_archive_callback,NULL,NULL,
+		      (gpointer)test_archive_callback,NULL,NULL,
 		      GNOME_APP_PIXMAP_STOCK,GNOME_STOCK_MENU_SEARCH,
 		      'T',GDK_CONTROL_MASK,NULL},
 	GNOMEUIINFO_END
 };
 
-GnomeUIInfo helpmenu[] = {
-	(GnomeUIInfo){GNOME_APP_UI_ITEM,
+static GnomeUIInfo helpmenu[] = {
+	{GNOME_APP_UI_ITEM,
 		      _("_About..."),NULL,
-		      about_callback,NULL,NULL,
+		      (gpointer)about_callback,NULL,NULL,
 		      GNOME_APP_PIXMAP_STOCK,GNOME_STOCK_MENU_ABOUT,
 		      0,(GdkModifierType)0,NULL},
 	/*  GNOMEUIINFO_SEPARATOR,
 	    GNOMEUIINFO_HELP("cxunzip"), */
-	GNOMEUIINFO_END,
+	GNOMEUIINFO_END
 };
 
 GnomeUIInfo mainmenu[] = {