This is gccism. it needs to be abstracted otherwise we won't compile on
other platforms.
glib may have a macro for that, can you check that out?
glib uses these attributes internally, but it I couldn't find macro
that can be used in application code.
The patch looks pretty good otherwise, can you please file a bug against the
pygtk product in bugzilla and attach the patch?
done:
http://bugzilla.gnome.org/show_bug.cgi?id=347825
The patch in the bug uses some macros to only use the attribute if
using gcc >= 3.4
--
Johan Dahlin <[EMAIL PROTECTED]>
Async Open Source
Rafael
Python for Maemo,
INdT
_______________________________________________
pygtk mailing list [email protected]
http://www.daa.com.au/mailman/listinfo/pygtk
Read the PyGTK FAQ: http://www.async.com.br/faq/pygtk/