Fix gtk_tree_view_get_tooltip_context() transfer annotation
The default (out) transfer mode is "full", but the passed "model" pointer gets set to gtk_tree_view_get_model() which is "transfer none". This caused Python programs to free the model after calling this, causing crashes.
This commit is contained in:
parent
6ae78c3cf1
commit
1c222372d9
@ -16286,7 +16286,8 @@ gtk_tree_view_set_tooltip_cell (GtkTreeView *tree_view,
|
|||||||
* @x: (inout): the x coordinate (relative to widget coordinates)
|
* @x: (inout): the x coordinate (relative to widget coordinates)
|
||||||
* @y: (inout): the y coordinate (relative to widget coordinates)
|
* @y: (inout): the y coordinate (relative to widget coordinates)
|
||||||
* @keyboard_tip: whether this is a keyboard tooltip or not
|
* @keyboard_tip: whether this is a keyboard tooltip or not
|
||||||
* @model: (out) (allow-none): a pointer to receive a #GtkTreeModel or %NULL
|
* @model: (out) (allow-none) (transfer none): a pointer to receive a
|
||||||
|
* #GtkTreeModel or %NULL
|
||||||
* @path: (out) (allow-none): a pointer to receive a #GtkTreePath or %NULL
|
* @path: (out) (allow-none): a pointer to receive a #GtkTreePath or %NULL
|
||||||
* @iter: (out) (allow-none): a pointer to receive a #GtkTreeIter or %NULL
|
* @iter: (out) (allow-none): a pointer to receive a #GtkTreeIter or %NULL
|
||||||
*
|
*
|
||||||
|
Loading…
Reference in New Issue
Block a user