FreeBSD-4.9-STABLE and xfce4-menueditor build failuer, possible patch
Matt Lancereau
matt at bsd-blax.org
Wed Feb 11 09:54:17 CET 2004
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
The new release 1.05 is committed.
"no more gint response" so it should fix the prob.
On Tue, 10 Feb 2004, Jean-François Wauthy wrote:
> Le mar 10/02/2004 à 08:40, jimmie james a écrit :
> > 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?
> >
> it's a known issue under *BSD, it's corrected in the development version
> (i gonna make a new release with text formatted in the tree and icon
> support very soon)
>
> >
> >
> > --- 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;
> + 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;
> + response = gtk_dialog_run(GTK_DIALOG(dialog));
> > gtk_widget_destroy(dialog);
> >
> > if(response==GTK_RESPONSE_YES)
> >
>
> it's a way (the fastest) to correct the problem but in the real new code
> i used the edscott's way that doesn't use the response variable anymore
>
> > jimmie (jimmiejaz)
> > _______________________________________________
> > 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>
>
- --
name: Matt Lancereau ( aka Blax )
contact: matt(at)bsd-blax.org | matt(at)rimasec.net
pgp key: 0xACA44F3D ( http://www.bsd-blax.org/matt.asc )
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.4 (FreeBSD)
Comment: Made with pgp4pine 1.76
iD8DBQFAKe2+pO7icqykTz0RAvUFAJoD0gBIY+vA67UGcr7mDwTUFKNiiwCfXTcd
XrlTMMrj6e5qfMdK+RygdaI=
=OFtv
-----END PGP SIGNATURE-----
More information about the Xfce4-dev
mailing list