diff options
author | Behdad Esfahbod <behdad@gnome.org> | 2008-06-09 19:53:20 +0000 |
---|---|---|
committer | Behdad Esfahbod <behdad@src.gnome.org> | 2008-06-09 19:53:20 +0000 |
commit | 239022bc8313ee472e773fcfb2868a67efb4c686 (patch) | |
tree | 07ee27e6e9429aa553c88ae73b8a24e00fd7996e /pango/pango-language.h | |
parent | 3eb2b0d3d21c74408bea4427950cc2addc529b3c (diff) | |
download | pango-239022bc8313ee472e773fcfb2868a67efb4c686.tar.gz |
Bug 537258 – Add a pango_language_to_string() function
2008-06-09 Behdad Esfahbod <behdad@gnome.org>
Bug 537258 – Add a pango_language_to_string() function
* docs/tmpl/text-attributes.sgml:
* pango/pango-language.c (pango_language_to_string):
* pango/pango-language.h:
* pango/pango.def:
Add a function implementation of pango_language_to_string().
The macro is still available. To be removed in a cycle or two from
now. (bug #537466)
svn path=/trunk/; revision=2651
Diffstat (limited to 'pango/pango-language.h')
-rw-r--r-- | pango/pango-language.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/pango/pango-language.h b/pango/pango-language.h index 9c1a9d8d..bbfe268b 100644 --- a/pango/pango-language.h +++ b/pango/pango-language.h @@ -35,6 +35,7 @@ typedef struct _PangoLanguage PangoLanguage; GType pango_language_get_type (void) G_GNUC_CONST; PangoLanguage *pango_language_from_string (const char *language); +G_CONST_RETURN char *pango_language_to_string (PangoLanguage *language) G_GNUC_CONST; #define pango_language_to_string(language) ((const char *)language) G_CONST_RETURN char *pango_language_get_sample_string (PangoLanguage *language) G_GNUC_CONST; |