From b8fbe2ce364cc1f8cdaea125e97537b85e97daab Mon Sep 17 00:00:00 2001 From: Alberto Ruiz Date: Fri, 15 Apr 2011 03:32:08 +0100 Subject: [PATCH] Fix introspection for pango_font_map_list_families and pango_font_family_list_faces --- pango/fonts.c | 4 ++-- pango/pango-fontmap.c | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/pango/fonts.c b/pango/fonts.c index 34cd67c..1faa7a0 100644 --- a/pango/fonts.c +++ b/pango/fonts.c @@ -1918,10 +1918,10 @@ pango_font_family_get_name (PangoFontFamily *family) /** * pango_font_family_list_faces: * @family: a #PangoFontFamily - * @faces: location to store an array of pointers to #PangoFontFace + * @faces: (array length=n_faces) (out): location to store an array of pointers to #PangoFontFace * objects, or %NULL. This array should be freed with g_free() * when it is no longer needed. - * @n_faces: location to store number of elements in @faces. + * @n_faces: (out): location to store number of elements in @faces. * * Lists the different font faces that make up @family. The faces * in a family share a common design, but differ in slant, weight, diff --git a/pango/pango-fontmap.c b/pango/pango-fontmap.c index 13f4263..0b98cdc 100644 --- a/pango/pango-fontmap.c +++ b/pango/pango-fontmap.c @@ -97,9 +97,9 @@ pango_font_map_load_font (PangoFontMap *fontmap, /** * pango_font_map_list_families: * @fontmap: a #PangoFontMap - * @families: location to store a pointer to an array of #PangoFontFamily *. + * @families: (out) (array length=n_families): location to store a pointer to an array of #PangoFontFamily *. * This array should be freed with g_free(). - * @n_families: location to store the number of elements in @families + * @n_families: (out): location to store the number of elements in @families * * List all families for a fontmap. **/ -- 2.7.4