Add missing (element-type) annotations for list arguments
authorPavel Holejsovsky <pholejs@src.gnome.org>
Sun, 3 Jun 2012 20:32:56 +0000 (22:32 +0200)
committerPavel Holejsovsky <pholejs@src.gnome.org>
Mon, 4 Jun 2012 18:36:13 +0000 (20:36 +0200)
https://bugzilla.gnome.org/show_bug.cgi?id=677407

pango/pango-glyph-item.c
pango/reorder-items.c

index 26c3666..9c13e8d 100644 (file)
@@ -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
  **/
index 7334224..62a6a8f 100644 (file)
@@ -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.