[pango] Add missing (element-type) annotations for list arguments



commit 7b79cef481fe0307b0e315fa917cb6ebb7b7f442
Author: Pavel Holejsovsky <pholejs src gnome org>
Date:   Sun Jun 3 22:32:56 2012 +0200

    Add missing (element-type) annotations for list arguments
    
    https://bugzilla.gnome.org/show_bug.cgi?id=677407

 pango/pango-glyph-item.c |    7 ++++---
 pango/reorder-items.c    |    2 +-
 2 files changed, 5 insertions(+), 4 deletions(-)
---
diff --git a/pango/pango-glyph-item.c b/pango/pango-glyph-item.c
index 26c3666..9c13e8d 100644
--- a/pango/pango-glyph-item.c
+++ b/pango/pango-glyph-item.c
@@ -564,9 +564,10 @@ split_before_cluster_start (ApplyAttrsState *state)
  * This function takes ownership of @glyph_item; it will be reused
  * as one of the elements in the list.
  *
- * Return value: (transfer full): a list of glyph items resulting
- *   from splitting @glyph_item. Free the elements using
- *   pango_glyph_item_free(), the list using g_slist_free().
+ * Return value: (transfer full) (element-type Pango.GlyphItem): a
+ *   list of glyph items resulting from splitting @glyph_item. Free
+ *   the elements using pango_glyph_item_free(), the list using
+ *   g_slist_free().
  *
  * Since: 1.2
  **/
diff --git a/pango/reorder-items.c b/pango/reorder-items.c
index 7334224..62a6a8f 100644
--- a/pango/reorder-items.c
+++ b/pango/reorder-items.c
@@ -31,7 +31,7 @@ static GList *reorder_items_recurse (GList *items, int n_items);
 
 /**
  * pango_reorder_items:
- * @logical_items:  a #GList of #PangoItem in logical order.
+ * @logical_items: (element-type Pango.Item): a #GList of #PangoItem in logical order.
  *
  * From a list of items in logical order and the associated
  * directional levels, produce a list in visual order.



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