[pango] Fixing (transfer full) introspection annotation for the return value in pango_context_load_font



commit 52a495cef9d35c02d54ca010e24f1e8f44384193
Author: Alberto Ruiz <aruiz gnome org>
Date:   Mon Apr 25 21:44:21 2011 +0100

    Fixing (transfer full) introspection annotation for the return value in pango_context_load_font

 pango/pango-context.c |    3 ++-
 1 files changed, 2 insertions(+), 1 deletions(-)
---
diff --git a/pango/pango-context.c b/pango/pango-context.c
index b92f450..bb7d882 100644
--- a/pango/pango-context.c
+++ b/pango/pango-context.c
@@ -280,7 +280,8 @@ pango_context_list_families (PangoContext          *context,
  * Loads the font in one of the fontmaps in the context
  * that is the closest match for @desc.
  *
- * Returns: the font loaded, or %NULL if no font matched.
+ * Returns: (transfer full): a newlly allocated #PangoFont that
+ *          was loaded, or %NULL if no font matched.
  **/
 PangoFont *
 pango_context_load_font (PangoContext               *context,



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