[gtk+] Gtk{List,Tree}Store: Fix GI array annotations
- From: Martin Pitt <martinpitt src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gtk+] Gtk{List,Tree}Store: Fix GI array annotations
- Date: Sat, 15 Jan 2011 21:26:58 +0000 (UTC)
commit 85fe2ce17f7790cb856eba4953d420bb0158f4e0
Author: Martin Pitt <martin pitt ubuntu com>
Date: Sat Jan 15 15:26:12 2011 -0600
Gtk{List,Tree}Store: Fix GI array annotations
gtk/gtkliststore.c | 6 +++---
gtk/gtktreestore.c | 6 +++---
2 files changed, 6 insertions(+), 6 deletions(-)
---
diff --git a/gtk/gtkliststore.c b/gtk/gtkliststore.c
index 4d9c1dd..d8ab6be 100644
--- a/gtk/gtkliststore.c
+++ b/gtk/gtkliststore.c
@@ -1533,7 +1533,7 @@ gtk_list_store_reorder_func (GSequenceIter *a,
/**
* gtk_list_store_reorder:
* @store: A #GtkListStore.
- * @new_order: an array of integers mapping the new position of each child
+ * @new_order: (array): an array of integers mapping the new position of each child
* to its old position before the re-ordering,
* i.e. @new_order<literal>[newpos] = oldpos</literal>.
*
@@ -2100,8 +2100,8 @@ gtk_list_store_insert_with_values (GtkListStore *list_store,
* @list_store: A #GtkListStore
* @iter: (out) (allow-none): An unset #GtkTreeIter to set to the new row, or %NULL.
* @position: position to insert the new row
- * @columns: an array of column numbers
- * @values: an array of GValues
+ * @columns: (array length=n_values): an array of column numbers
+ * @values: (array length=n_values): an array of GValues
* @n_values: the length of the @columns and @values arrays
*
* A variant of gtk_list_store_insert_with_values() which
diff --git a/gtk/gtktreestore.c b/gtk/gtktreestore.c
index d9a76a9..4a4fd81 100644
--- a/gtk/gtktreestore.c
+++ b/gtk/gtktreestore.c
@@ -1576,8 +1576,8 @@ gtk_tree_store_insert_with_values (GtkTreeStore *tree_store,
* @iter: (out) (allow-none): An unset #GtkTreeIter to set the new row, or %NULL.
* @parent: (allow-none): A valid #GtkTreeIter, or %NULL
* @position: position to insert the new row
- * @columns: an array of column numbers
- * @values: an array of GValues
+ * @columns: (array length=n_values): an array of column numbers
+ * @values: (array length=n_values): an array of GValues
* @n_values: the length of the @columns and @values arrays
*
* A variant of gtk_tree_store_insert_with_values() which takes
@@ -2248,7 +2248,7 @@ gtk_tree_store_reorder_func (gconstpointer a,
* gtk_tree_store_reorder:
* @tree_store: A #GtkTreeStore.
* @parent: A #GtkTreeIter.
- * @new_order: an array of integers mapping the new position of each child
+ * @new_order: (array): an array of integers mapping the new position of each child
* to its old position before the re-ordering,
* i.e. @new_order<literal>[newpos] = oldpos</literal>.
*
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]