[gtk+/gtk-2-24] Gtk{List,Tree}Store: Fix GI array annotations
- From: Martin Pitt <martinpitt src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gtk+/gtk-2-24] Gtk{List,Tree}Store: Fix GI array annotations
- Date: Sat, 15 Jan 2011 21:34:38 +0000 (UTC)
commit 78a4b090e29399e7b93c296ce3f8f241da2d37f5
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 2aa4181..873c5a5 100644
--- a/gtk/gtkliststore.c
+++ b/gtk/gtkliststore.c
@@ -1424,7 +1424,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>.
*
@@ -1973,8 +1973,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 1dd4e02..c8b4d00 100644
--- a/gtk/gtktreestore.c
+++ b/gtk/gtktreestore.c
@@ -1475,8 +1475,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
@@ -2143,7 +2143,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]