summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBehdad Esfahbod <behdad@gnome.org>2006-01-14 06:39:17 +0000
committerBehdad Esfahbod <behdad@src.gnome.org>2006-01-14 06:39:17 +0000
commitf59d1523c0d95a08fd3cf28f946a3e628a5ac0f5 (patch)
tree9183a982dab329e2d29e40948405d17451c592ad
parentdb552efccc7f807909ad822f8f4b441ab1f37292 (diff)
downloadpango-f59d1523c0d95a08fd3cf28f946a3e628a5ac0f5.tar.gz
Move G_GNUC_CONST to after declaration, to be compatible with gcc 2.95.
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)
-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 ded809f9..e7f171ff 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)
+
2005-12-14 Behdad Esfahbod <behdad@gnome.org>
* pango/pango.def: Add pango_matrix_get_font_scale_factor. (bug
diff --git a/pango/pango-utils.h b/pango/pango-utils.h
index 4db1a23b..9dfde42a 100644
--- a/pango/pango-utils.h
+++ b/pango/pango-utils.h
@@ -98,7 +98,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;
G_END_DECLS