[Geany-devel] Patch for utils.h to work on GTK2.8

Nick Treleaven nick.treleaven at xxxxx
Fri Oct 8 14:45:01 UTC 2010


On Fri, 08 Oct 2010 15:06:36 +0200
Colomban Wendling <lists.ban at herbesfolles.org> wrote:

> > G_GNUC_WARN_UNUSED does not come in until gtk 2.10 so attached just
> > defines it to nothing if it isn't defined so utils.h will build on gtk
> > 2.8
> > 
> > Cheers
> > Lex
> This macro is in GLib, not GTK ;)
> And BTW, this is already done in geany.h:94, so perhaps better include
> it from utils.h? Or perhaps move it to utils.h, but having it twice
> seems a bit awkward.

Yes, all files should include geany.h before utils.h. I fixed
geanywraplabel.c yesterday but forgot stash.c, now done.

Regards,
Nick



More information about the Devel mailing list