GNOME Bugzilla – Bug 326847
declaration of pango_is_zero_width()
Last modified: 2006-01-14 06:38:03 UTC
Behdad, did you mean const gboolean pango_is_zero_width (...) or gboolean pango_is_zero_width (...) __attribute__(__const__) ? In the former case, you should use G_CONST_RETURN, in the latter case, put the G_GNUC_CONST after the declaration, since older gcc seem to choke on whats currently there. I could have sworn I saw this problem in bugmail this morning, but I can't find the bug anywhere...
I meant the latter. Fixing...
2006-01-14 Behdad Esfahbod <behdad@gnome.org> * pango/pango-utils.h (pango_is_zero_width): Move G_GNUC_CONST to after declaration, to be compatible with gcc 2.95. (bug #326847)