GNOME Bugzilla – Bug 669507
Wrong parameter type in TreeView.get_tooltip_context
Last modified: 2012-06-08 01:16:28 UTC
TreeView.get_tooltip_context is defined as public bool get_tooltip_context (out int x, out int y, bool keyboard_tip, out TreeModel model, out TreePath path, out TreeIter iter) Howewer, x and y should be 'ref' instead of 'out'. Related message in the vala mailing list http://mail.gnome.org/archives/vala-list/2012-February/msg00011.html
Indeed, I edited /usr/share/vala-0.14/vapi/gtk+-2.0.vapi, replaced 'out' with 'ref', now it works as it should. Probably the same problem occurs if you are using IconView.get_tooltip_context
commit 7eb8b6427d2cde8167a8f5a991f6e9f6816c888f Author: Evan Nemerson <evan@coeus-group.com> Date: Thu Jun 7 18:14:22 2012 -0700 gtk+-2.0, gtk+-3.0: make TreeView.get_tooltip_context.x and y ref Fixes bug 669507.