summaryrefslogtreecommitdiff
path: root/modules
diff options
context:
space:
mode:
authorRyan Lortie <desrt@desrt.ca>2011-06-09 11:36:59 -0400
committerRyan Lortie <desrt@desrt.ca>2011-06-09 13:02:27 -0400
commit4c7807daee7189f481d7c18b56b06d7b7dba7884 (patch)
treecd8356382775b26b5402d0a6b5750fb3faba2b35 /modules
parentc5a91abf1e24735be6c67dcb5d4e9ee0d66edd65 (diff)
downloadpango-4c7807daee7189f481d7c18b56b06d7b7dba7884.tar.gz
Stop using G_CONST_RETURN in Pango
G_CONST_RETURN is headed for deprecation (as per bug #644611). Stop using it in Pango. https://bugzilla.gnome.org/show_bug.cgi?id=652202
Diffstat (limited to 'modules')
-rw-r--r--modules/hebrew/hebrew-shaper.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/hebrew/hebrew-shaper.c b/modules/hebrew/hebrew-shaper.c
index 8aa36381..db3055b7 100644
--- a/modules/hebrew/hebrew-shaper.c
+++ b/modules/hebrew/hebrew-shaper.c
@@ -167,7 +167,7 @@ static const gboolean compose_table[4][4] = {
#define is_composible(cur_wc, nxt_wc) (compose_table[char_type_table[ucs2iso8859_8 (cur_wc)]]\
[char_type_table[ucs2iso8859_8 (nxt_wc)]])
-G_CONST_RETURN char *
+const char *
hebrew_shaper_get_next_cluster(const char *text,
gint length,
gunichar *cluster,