diff options
author | Ryan Lortie <desrt@desrt.ca> | 2011-06-09 11:36:59 -0400 |
---|---|---|
committer | Ryan Lortie <desrt@desrt.ca> | 2011-06-09 13:02:27 -0400 |
commit | 4c7807daee7189f481d7c18b56b06d7b7dba7884 (patch) | |
tree | cd8356382775b26b5402d0a6b5750fb3faba2b35 /pango/pango-script.h | |
parent | c5a91abf1e24735be6c67dcb5d4e9ee0d66edd65 (diff) | |
download | pango-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 'pango/pango-script.h')
-rw-r--r-- | pango/pango-script.h | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/pango/pango-script.h b/pango/pango-script.h index 32ef7372..ef5f698b 100644 --- a/pango/pango-script.h +++ b/pango/pango-script.h @@ -128,12 +128,12 @@ PangoScript pango_script_for_unichar (gunichar ch) G_GNUC_CO PangoScriptIter *pango_script_iter_new (const char *text, int length); -void pango_script_iter_get_range (PangoScriptIter *iter, - G_CONST_RETURN char **start, - G_CONST_RETURN char **end, - PangoScript *script); -gboolean pango_script_iter_next (PangoScriptIter *iter); -void pango_script_iter_free (PangoScriptIter *iter); +void pango_script_iter_get_range (PangoScriptIter *iter, + const char **start, + const char **end, + PangoScript *script); +gboolean pango_script_iter_next (PangoScriptIter *iter); +void pango_script_iter_free (PangoScriptIter *iter); #include <pango/pango-language.h> |