summaryrefslogtreecommitdiff
path: root/pango/pangocairo-context.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/pangocairo-context.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/pangocairo-context.c')
-rw-r--r--pango/pangocairo-context.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/pango/pangocairo-context.c b/pango/pangocairo-context.c
index c023059b..b83ee417 100644
--- a/pango/pangocairo-context.c
+++ b/pango/pangocairo-context.c
@@ -260,7 +260,7 @@ pango_cairo_context_set_font_options (PangoContext *context,
*
* Since: 1.10
**/
-G_CONST_RETURN cairo_font_options_t *
+const cairo_font_options_t *
pango_cairo_context_get_font_options (PangoContext *context)
{
PangoCairoContextInfo *info;
@@ -286,7 +286,7 @@ pango_cairo_context_get_font_options (PangoContext *context)
* Return value: the combined set of font options. This value is owned
* by the context and must not be modified or freed.
**/
-G_CONST_RETURN cairo_font_options_t *
+const cairo_font_options_t *
_pango_cairo_context_get_merged_font_options (PangoContext *context)
{
PangoCairoContextInfo *info = get_context_info (context, TRUE);