summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBehdad Esfahbod <behdad@gnome.org>2006-01-14 06:37:44 +0000
committerBehdad Esfahbod <behdad@src.gnome.org>2006-01-14 06:37:44 +0000
commitd412258b4ca1ccaeecd211768974be6029a6f481 (patch)
tree6efe3854eaeb6f42648b5c6589d31e2628cf5f78
parent59e692ee5a119653d8743dcd7e066800a56cb9ff (diff)
downloadpango-d412258b4ca1ccaeecd211768974be6029a6f481.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 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)