[Vala] gtk+2.0.vapi bug



Under Gtk.TreeView:

public bool get_dest_row_at_pos (int drag_x, int drag_y, out weak
Gtk.TreePath path, Gtk.TreeViewDropPosition pos);

The last parameter is incorrect here I think. The C-code wants a
GtkTreeViewDropPosition *pos, that is.. a list of positions. But
passing a [] pos expands to multiple parameters (len and the actual
data) so I don't know how to fix it. I just changed it to 'pointer'
instead to get my app working, but that's obviously not a real fix.

-- 
Daniel Svensson



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