[gtk+] Add introspection annotations for gtk_tree_model_get_path+gtk_tree_store_newv



commit b193be900347e0986b8d5b8923b7f9a1469ae216
Author: Alan Knowles <alan akbkhome com>
Date:   Tue Feb 9 12:27:05 2010 -0500

    Add introspection annotations for gtk_tree_model_get_path+gtk_tree_store_newv

 gtk/gtktreemodel.c |    2 +-
 gtk/gtktreestore.c |    2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/gtk/gtktreemodel.c b/gtk/gtktreemodel.c
index 675f10b..5f01e6d 100644
--- a/gtk/gtktreemodel.c
+++ b/gtk/gtktreemodel.c
@@ -1123,7 +1123,7 @@ gtk_tree_model_get_path (GtkTreeModel *tree_model,
  * @tree_model: A #GtkTreeModel.
  * @iter: The #GtkTreeIter.
  * @column: The column to lookup the value at.
- * @value: An empty #GValue to set.
+ * @value: (inout) (transfer none) An empty #GValue to set.
  *
  * Initializes and sets @value to that at @column.
  * When done with @value, g_value_unset() needs to be called 
diff --git a/gtk/gtktreestore.c b/gtk/gtktreestore.c
index b7fcda8..026ee39 100644
--- a/gtk/gtktreestore.c
+++ b/gtk/gtktreestore.c
@@ -325,7 +325,7 @@ gtk_tree_store_newv (gint   n_columns,
  * gtk_tree_store_set_column_types:
  * @tree_store: A #GtkTreeStore
  * @n_columns: Number of columns for the tree store
- * @types: An array of #GType types, one for each column
+ * @types: (array length=n_columns): An array of #GType types, one for each column
  * 
  * This function is meant primarily for #GObjects that inherit from 
  * #GtkTreeStore, and should only be used when constructing a new 



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