diff options
Diffstat (limited to 'pango/pango-context.c')
-rw-r--r-- | pango/pango-context.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/pango/pango-context.c b/pango/pango-context.c index a0134eb4..9b1db987 100644 --- a/pango/pango-context.c +++ b/pango/pango-context.c @@ -377,15 +377,15 @@ pango_context_set_font_description (PangoContext *context, * * Retrieve the default font description for the context. * - * Return value: a newly allocated copy of the contexts default font description. - * This value must be free with pango_font_description_free() + * Return value: a pointer to the context's default font description. + * This value must not be modified or freed. **/ PangoFontDescription * pango_context_get_font_description (PangoContext *context) { g_return_val_if_fail (context != NULL, NULL); - return pango_font_description_copy (context->font_desc); + return context->font_desc; } /** |