summaryrefslogtreecommitdiff
path: root/pango/fonts.c
diff options
context:
space:
mode:
authorPavel Holejsovsky <pholejs@src.gnome.org>2012-06-03 22:32:56 +0200
committerPavel Holejsovsky <pholejs@src.gnome.org>2012-06-04 20:36:13 +0200
commitc6f0bfe51ec4ecdde6bb24dc3db921b0b0bd982f (patch)
tree32c301984ffb381e51c2b77da7df22abbb6634d7 /pango/fonts.c
parent7b79cef481fe0307b0e315fa917cb6ebb7b7f442 (diff)
downloadpango-c6f0bfe51ec4ecdde6bb24dc3db921b0b0bd982f.tar.gz
Fix transfer annotation for pango_font_family_list_faces
The documentation says 'This array should be freed with g_free() when it is no longer needed', which really translates to (transfer container) in introspection annotation jargon. https://bugzilla.gnome.org/show_bug.cgi?id=677407
Diffstat (limited to 'pango/fonts.c')
-rw-r--r--pango/fonts.c7
1 files changed, 4 insertions, 3 deletions
diff --git a/pango/fonts.c b/pango/fonts.c
index 6d35f83e..b11da44a 100644
--- a/pango/fonts.c
+++ b/pango/fonts.c
@@ -1919,9 +1919,10 @@ pango_font_family_get_name (PangoFontFamily *family)
/**
* pango_font_family_list_faces:
* @family: a #PangoFontFamily
- * @faces: (out) (allow-none) (array length=n_faces): 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.
+ * @faces: (out) (allow-none) (array length=n_faces) (transfer container):
+ * 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: (out): location to store number of elements in @faces.
*
* Lists the different font faces that make up @family. The faces