[gtk+] add a transfer none annotation to gtk_tree_view_get_selection



commit 57754edef6360e48d4a8ef99bbf11c760c15033b
Author: John (J5) Palmieri <johnp redhat com>
Date:   Tue May 25 11:49:10 2010 -0400

    add a transfer none annotation to gtk_tree_view_get_selection
    
    * it returns the selection from its priv structure without reffing

 gtk/gtktreeview.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/gtk/gtktreeview.c b/gtk/gtktreeview.c
index 6192e84..533bb17 100644
--- a/gtk/gtktreeview.c
+++ b/gtk/gtktreeview.c
@@ -10814,7 +10814,7 @@ gtk_tree_view_set_model (GtkTreeView  *tree_view,
  *
  * Gets the #GtkTreeSelection associated with @tree_view.
  *
- * Return value: A #GtkTreeSelection object.
+ * Return value: (transfer none): A #GtkTreeSelection object.
  **/
 GtkTreeSelection *
 gtk_tree_view_get_selection (GtkTreeView *tree_view)



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