summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPavel Holejsovsky <pholejs@src.gnome.org>2012-06-03 22:32:56 +0200
committerPavel Holejsovsky <pholejs@src.gnome.org>2012-06-04 20:36:13 +0200
commit7b79cef481fe0307b0e315fa917cb6ebb7b7f442 (patch)
tree7266cba7b3679c35b3c3cd565f447b6125983650
parent1706bdad9790d9cb9683a4e8a72e4e7fbbfc570e (diff)
downloadpango-7b79cef481fe0307b0e315fa917cb6ebb7b7f442.tar.gz
Add missing (element-type) annotations for list arguments
https://bugzilla.gnome.org/show_bug.cgi?id=677407
-rw-r--r--pango/pango-glyph-item.c7
-rw-r--r--pango/reorder-items.c2
2 files changed, 5 insertions, 4 deletions
diff --git a/pango/pango-glyph-item.c b/pango/pango-glyph-item.c
index 26c3666f..9c13e8d4 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 73342248..62a6a8f9 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.