FreeBSD-4.9-STABLE and xfce4-menueditor build failuer, possible patch

jimmie james jimmiejaz at fhase.net
Tue Feb 10 08:40:43 CET 2004


menueditor fails with two syntax errors:

<sinp for build log> 

`test -f 'new.c' || echo './'`new.c
new.c: In function `new_menu_cb':
new.c:47: syntax error before `response'
new.c:62: syntax error before `response'
*** Error code 1

Possible fix?



--- new.c       Tue Feb 10 01:57:41 2004
+++ new1.c      Tue Feb 10 01:56:50 2004
@@ -44,7 +44,7 @@
                                    GTK_BUTTONS_YES_NO,
                                    _("Are you sure to close the current menu ?"));
 
-     gint response = gtk_dialog_run(GTK_DIALOG(dialog));
+     response = gtk_dialog_run(GTK_DIALOG(dialog));
     gtk_widget_destroy(dialog);
 
     if(response==GTK_RESPONSE_NO)
@@ -59,7 +59,7 @@
                                    GTK_BUTTONS_YES_NO,
                                    _("Do you want to save before closing the file ?"));
 
-     gint response = gtk_dialog_run(GTK_DIALOG(dialog));
+     response = gtk_dialog_run(GTK_DIALOG(dialog));
     gtk_widget_destroy(dialog);
 
     if(response==GTK_RESPONSE_YES)

jimmie (jimmiejaz)



More information about the Xfce4-dev mailing list