[gtk+/gtk-2-22] add a transfer none annotation to gtk_tree_view_get_selection
- From: John Palmieri <johnp src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gtk+/gtk-2-22] add a transfer none annotation to gtk_tree_view_get_selection
- Date: Tue, 25 May 2010 15:51:38 +0000 (UTC)
commit 15037df2823a5cea2a3c6450c885d87947c5318d
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 afac49e..07307fe 100644
--- a/gtk/gtktreeview.c
+++ b/gtk/gtktreeview.c
@@ -10821,7 +10821,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]