From: Alberto Ruiz Date: Tue, 26 Apr 2011 18:43:49 +0000 (+0100) Subject: Removing introspection warnings from pangocairo-fontmap X-Git-Tag: 1.29.1~50 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=6fc80c1c95000161fd00052927df081aa879fdaf;p=platform%2Fupstream%2Fpango.git Removing introspection warnings from pangocairo-fontmap --- diff --git a/pango/pangocairo-fontmap.c b/pango/pangocairo-fontmap.c index 9404264..efb8a90 100644 --- a/pango/pangocairo-fontmap.c +++ b/pango/pangocairo-fontmap.c @@ -84,8 +84,8 @@ pango_cairo_font_map_get_type (void) * You generally should only use the #PangoFontMap and * #PangoCairoFontMap interfaces on the returned object. * - * Return value: the newly allocated #PangoFontMap, which should - * be freed with g_object_unref(). + * Return value: (transfer full): the newly allocated #PangoFontMap, + * which should be freed with g_object_unref(). * * Since: 1.10 **/ @@ -122,10 +122,10 @@ pango_cairo_font_map_new (void) * or in fact in most of those cases, just use * @pango_cairo_font_map_get_default(). * - * Return value: the newly allocated #PangoFontMap of suitable type - * which should be freed with g_object_unref(), - * or %NULL if the requested cairo font backend is - * not supported / compiled in. + * Return value: (transfer full) : the newly allocated #PangoFontMap + * of suitable type which should be freed with + * g_object_unref(), or %NULL if the requested cairo + * font backend is not supported / compiled in. * * Since: 1.18 **/ @@ -175,8 +175,8 @@ static PangoFontMap *default_font_map = NULL; * change the Cairo font backend that the default fontmap * uses for example. * - * Return value: the default Cairo fontmap for Pango. This - * object is owned by Pango and must not be freed. + * Return value: (transfer none): the default Cairo fontmap + * for Pango. This object is owned by Pango and must not be freed. * * Since: 1.10 **/ @@ -262,7 +262,7 @@ pango_cairo_font_map_get_resolution (PangoCairoFontMap *fontmap) } /** - * pango_cairo_font_map_create_context: + * pango_cairo_font_map_create_context: (skip): * @fontmap: a #PangoCairoFontMap * * Create a #PangoContext for the given fontmap.