]> Pileus Git - ~andy/gtk/commit
Fix gtk_tree_view_get_tooltip_context() transfer annotation
authorMartin Pitt <martin.pitt@ubuntu.com>
Mon, 14 Nov 2011 13:32:32 +0000 (14:32 +0100)
committerMartin Pitt <martin.pitt@ubuntu.com>
Mon, 14 Nov 2011 13:33:51 +0000 (14:33 +0100)
commit1c222372d9cae171236add8e3e08d9198cb39a2d
tree2c06f12cb8c68d3e73f80e8a1e1f8e61376ca55b
parent6ae78c3cf1fbfb1ccf24bb3869f962faa5b565c4
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.
gtk/gtktreeview.c