[pango] Fixed (transfer full) and (element-type) introspection annotation for the return value in pango_reor



commit a502c5eff4d679ea5d623b698e3d6bcf5db023e9
Author: Alberto Ruiz <aruiz gnome org>
Date:   Tue Apr 26 00:07:46 2011 +0100

    Fixed (transfer full) and (element-type) introspection annotation for the return value in pango_reorder_items

 pango/pango-layout.c  |    2 +-
 pango/reorder-items.c |    3 ++-
 2 files changed, 3 insertions(+), 2 deletions(-)
---
diff --git a/pango/pango-layout.c b/pango/pango-layout.c
index d173a16..f0dbbcc 100644
--- a/pango/pango-layout.c
+++ b/pango/pango-layout.c
@@ -5570,7 +5570,7 @@ pango_layout_iter_get_index (PangoLayoutIter *iter)
  * Use the faster pango_layout_iter_get_run_readonly() if you do not plan
  * to modify the contents of the run (glyphs, glyph widths, etc.).
  *
- * Return value: the current run.
+ * Return value: (transfer none): the current run.
  **/
 PangoLayoutRun*
 pango_layout_iter_get_run (PangoLayoutIter *iter)
diff --git a/pango/reorder-items.c b/pango/reorder-items.c
index 2543350..7334224 100644
--- a/pango/reorder-items.c
+++ b/pango/reorder-items.c
@@ -37,7 +37,8 @@ static GList *reorder_items_recurse (GList *items, int n_items);
  * directional levels, produce a list in visual order.
  * The original list is unmodified.
  *
- * Returns: a #GList of #PangoItem structures in visual order.
+ * Returns: (transfer full) (element-type Pango.Item): a #GList
+ *          of #PangoItem structures in visual order.
  *
  * (Please open a bug if you use this function.
  *  It is not a particularly convenient interface, and the code



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