Le 08/10/2010 06:16, Lex Trotman a écrit :
Hi,
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.
Ah, and your patch seems to lack a #endif too ;)
Regards, Colomban