Fix introspection for pango_font_map_list_families and pango_font_family_list_faces
authorAlberto Ruiz <aruiz@gnome.org>
Fri, 15 Apr 2011 02:32:08 +0000 (03:32 +0100)
committerAlberto Ruiz <aruiz@gnome.org>
Fri, 15 Apr 2011 02:32:08 +0000 (03:32 +0100)
pango/fonts.c
pango/pango-fontmap.c

index 34cd67c..1faa7a0 100644 (file)
@@ -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,
index 13f4263..0b98cdc 100644 (file)
@@ -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.
  **/