[gtk+/gtk-2-22] Add (transfer none) annotation to gtk_tree_selection_get_selected_rows()



commit 0a61e919e29d07b1386d0bba2dd4e61c51f66cba
Author: Philip Withnall <philip withnall collabora co uk>
Date:   Fri Jul 30 13:55:56 2010 +0200

    Add (transfer none) annotation to gtk_tree_selection_get_selected_rows()
    
    Closes: bgo#625650

 gtk/gtktreeselection.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/gtk/gtktreeselection.c b/gtk/gtktreeselection.c
index bcb2887..714b6ea 100644
--- a/gtk/gtktreeselection.c
+++ b/gtk/gtktreeselection.c
@@ -402,7 +402,7 @@ gtk_tree_selection_get_selected (GtkTreeSelection  *selection,
 /**
  * gtk_tree_selection_get_selected_rows:
  * @selection: A #GtkTreeSelection.
- * @model: (allow-none): A pointer to set to the #GtkTreeModel, or NULL.
+ * @model: (out) (allow-none) (transfer none): A pointer to set to the #GtkTreeModel, or %NULL.
  *
  * Creates a list of path of all selected rows. Additionally, if you are
  * planning on modifying the model after calling this function, you may



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