summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlberto Ruiz <aruiz@gnome.org>2011-04-26 00:07:46 +0100
committerAlberto Ruiz <aruiz@gnome.org>2011-04-26 00:07:46 +0100
commita502c5eff4d679ea5d623b698e3d6bcf5db023e9 (patch)
tree53fa25a4edcd38135ac703d22e5388c3e85db4d4
parentf635507af8adefbf7b1b4ae87159804920d40070 (diff)
downloadpango-a502c5eff4d679ea5d623b698e3d6bcf5db023e9.tar.gz
Fixed (transfer full) and (element-type) introspection annotation for the return value in pango_reorder_items
-rw-r--r--pango/pango-layout.c2
-rw-r--r--pango/reorder-items.c3
2 files changed, 3 insertions, 2 deletions
diff --git a/pango/pango-layout.c b/pango/pango-layout.c
index d173a166..f0dbbcc9 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 25433509..73342248 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