xfce4-menueditor problems

Jean-François Wauthy pollux at castor.be
Wed Feb 4 13:32:00 CET 2004


Le mer 04/02/2004 à 13:23, Jasper Huijsmans a écrit :
> All declarations must be at the start of a block. Gcc3 allows
> declarations anywhere, but earlier versions do not, nor I expect do
> other compilers.
> 
yes but here i declare the variable at the start of the block,...
i gonna change it (after my Dutch course ;-) )

> 	Jasper
> 
> 
> Op wo 04-02-2004, om 13:13 schreef Martti Kuparinen:
> > Jean-François Wauthy wrote:
> > 
> > > BTW the patch seems to not work :-S removing gint -> no more variable
> > > declaration...
> > 
> > I used this patch in NetBSD's pkgsrc...
> > 
> > Martti
> > 
> > 
> > $NetBSD: patch-aa,v 1.1 2004/02/04 11:51:57 martti Exp $
> > 
> > --- menueditor/menueditor.c.orig        2004-01-25 22:12:52.000000000 +0200
> > +++ menueditor/menueditor.c     2004-02-04 13:42:57.000000000 +0200
> > @@ -283,13 +283,14 @@
> >     /* Check if there is no other file opened */
> >     if(menueditor_app.xml_menu_file != NULL){
> >       if(menueditor_app.menu_modified==TRUE){
> > +      gint response;
> >         GtkWidget *dialog = gtk_message_dialog_new(GTK_WINDOW(menueditor_app.main
> > _window),
> >                                        GTK_DIALOG_DESTROY_WITH_PARENT,
> >                                        GTK_MESSAGE_QUESTION,
> >                                        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)
> > @@ -320,13 +321,14 @@
> >     /* Check if there is no other file opened */
> >     if(menueditor_app.xml_menu_file != NULL){
> >       if(menueditor_app.menu_modified==TRUE){
> > +      gint response;
> >         GtkWidget *dialog = gtk_message_dialog_new(GTK_WINDOW(menueditor_app.main
> > _window),
> >                                        GTK_DIALOG_DESTROY_WITH_PARENT,
> >                                        GTK_MESSAGE_QUESTION,
> >                                        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)
> > _______________________________________________
> > Xfce4-dev mailing list
> > Xfce4-dev at xfce.org
> > http://lunar-linux.org/mailman/listinfo/xfce4-dev
> 
> _______________________________________________
> Xfce4-dev mailing list
> Xfce4-dev at xfce.org
> http://lunar-linux.org/mailman/listinfo/xfce4-dev
-- 
Jean-François Wauthy <pollux at castor.be>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 189 bytes
Desc: Ceci est une partie de message num?riquement sign?e.
URL: <http://mail.xfce.org/pipermail/xfce4-dev/attachments/20040204/6a669c9c/attachment.pgp>


More information about the Xfce4-dev mailing list