[gtk+] iconview: Prevent ownership transfer of cell out-param in get_item_at_pos()



commit 6e6e6d774f85973a4f6c7e06b966978bb7eac17b
Author: Rico Tzschichholz <ricotz ubuntu com>
Date:   Sat Jan 6 09:27:44 2018 +0100

    iconview: Prevent ownership transfer of cell out-param in get_item_at_pos()

 gtk/gtkiconview.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/gtk/gtkiconview.c b/gtk/gtkiconview.c
index a91d4e6..9a5ee70 100644
--- a/gtk/gtkiconview.c
+++ b/gtk/gtkiconview.c
@@ -4236,7 +4236,7 @@ gtk_icon_view_get_path_at_pos (GtkIconView *icon_view,
  * @x: The x position to be identified
  * @y: The y position to be identified
  * @path: (out) (allow-none): Return location for the path, or %NULL
- * @cell: (out) (allow-none): Return location for the renderer
+ * @cell: (out) (allow-none) (transfer none): Return location for the renderer
  *   responsible for the cell at (@x, @y), or %NULL
  * 
  * Returns: %TRUE if an item exists at the specified position


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