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



commit 43433f3ccdccacba054b2ce63ab26490d3a781cf
Author: Rico Tzschichholz <ricotz ubuntu com>
Date:   Sat Jan 6 09:40:26 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 091c9a6..4062bfd 100644
--- a/gtk/gtkiconview.c
+++ b/gtk/gtkiconview.c
@@ -4472,7 +4472,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
  * 
  * Finds the path at the point (@x, @y), relative to bin_window coordinates.


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