On Fri, 08 Oct 2010 15:06:36 +0200 Colomban Wendling lists.ban@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