summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--ChangeLog5
-rw-r--r--pango/pango-utils.h2
2 files changed, 6 insertions, 1 deletions
diff --git a/ChangeLog b/ChangeLog
index bcf15089..6d8b41ce 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+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)
+
2006-01-05 Behdad Esfahbod <behdad@gnome.org>
* pango/Makefile.am,
diff --git a/pango/pango-utils.h b/pango/pango-utils.h
index ac7de99b..f8e775e2 100644
--- a/pango/pango-utils.h
+++ b/pango/pango-utils.h
@@ -97,7 +97,7 @@ G_CONST_RETURN char *pango_language_get_sample_string (PangoLanguage *language);
/* Unicode characters that are zero-width and should not be rendered
* normally.
*/
-G_GNUC_CONST gboolean pango_is_zero_width (gunichar ch);
+gboolean pango_is_zero_width (gunichar ch) G_GNUC_CONST;
/* String interning for static strings */
#define I_(string) g_intern_static_string (string)