summaryrefslogtreecommitdiff
path: root/pango/fonts.c
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 /pango/fonts.c
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 'pango/fonts.c')
-rw-r--r--pango/fonts.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/pango/fonts.c b/pango/fonts.c
index c4681e04..6d35f83e 100644
--- a/pango/fonts.c
+++ b/pango/fonts.c
@@ -155,7 +155,7 @@ pango_font_description_set_family_static (PangoFontDescription *desc,
* %NULL if not previously set. This has the same life-time
* as the font description itself and should not be freed.
**/
-G_CONST_RETURN char *
+const char *
pango_font_description_get_family (const PangoFontDescription *desc)
{
g_return_val_if_fail (desc != NULL, NULL);
@@ -1908,7 +1908,7 @@ pango_font_family_init (PangoFontFamily *family G_GNUC_UNUSED)
* Return value: the name of the family. This string is owned
* by the family object and must not be modified or freed.
**/
-G_CONST_RETURN char *
+const char *
pango_font_family_get_name (PangoFontFamily *family)
{
g_return_val_if_fail (PANGO_IS_FONT_FAMILY (family), NULL);
@@ -2041,7 +2041,7 @@ pango_font_face_is_synthesized (PangoFontFace *face)
* Return value: the face name for the face. This string is
* owned by the face object and must not be modified or freed.
**/
-G_CONST_RETURN char *
+const char *
pango_font_face_get_face_name (PangoFontFace *face)
{
g_return_val_if_fail (PANGO_IS_FONT_FACE (face), NULL);