[pango] Fixing (transfer none) introspection annotation for the return value in pango_context_get_font_map



commit 1b4d351d114996e357912b5c1bfc979cfb39b294
Author: Alberto Ruiz <aruiz gnome org>
Date:   Mon Apr 25 21:46:36 2011 +0100

    Fixing (transfer none) introspection annotation for the return value in pango_context_get_font_map

 pango/pango-context.c |    9 +++++----
 1 files changed, 5 insertions(+), 4 deletions(-)
---
diff --git a/pango/pango-context.c b/pango/pango-context.c
index bb7d882..dd83ee9 100644
--- a/pango/pango-context.c
+++ b/pango/pango-context.c
@@ -227,8 +227,8 @@ pango_context_set_font_map (PangoContext *context,
  *
  * Gets the #PangoFontmap used to look up fonts for this context.
  *
- * Return value: the font map for the #PangoContext. This value
- *  is owned by Pango and should not be unreferenced.
+ * Return value: (transfer none): the font map for the #PangoContext.
+ *               This value is owned by Pango and should not be unreferenced.
  *
  * Since: 1.6
  **/
@@ -243,8 +243,9 @@ pango_context_get_font_map (PangoContext *context)
 /**
  * pango_context_list_families:
  * @context: a #PangoContext
- * @families: (out) (array length=n_families): location to store a pointer to an array of #PangoFontFamily *.
- *            This array should be freed with g_free().
+ * @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: (out): location to store the number of elements in @descs
  *
  * List all families for a context.



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]