Re: [Vala] gtk+2.0.vapi bug

2008-01-07 Thread Jürg Billeter
On Mon, 2008-01-07 at 23:10 +0100, Daniel Svensson wrote: > On Jan 7, 2008 10:55 PM, Ed Schouten <[EMAIL PROTECTED]> wrote: > > You can just do this: > > > > | [NoArrayLength] > > | public bool get_dest_row_at_pos (int drag_x, int drag_y, out weak | > > Gtk.TreePath path, Gtk.TreeViewDropPosition

Re: [Vala] gtk+2.0.vapi bug

2008-01-07 Thread Daniel Svensson
On Jan 7, 2008 10:55 PM, Ed Schouten <[EMAIL PROTECTED]> wrote: > You can just do this: > > | [NoArrayLength] > | public bool get_dest_row_at_pos (int drag_x, int drag_y, out weak | > Gtk.TreePath path, Gtk.TreeViewDropPosition[] pos); > > This will omit the length argument. Ah, nice to know. But

Re: [Vala] gtk+2.0.vapi bug

2008-01-07 Thread Ed Schouten
* Daniel Svensson <[EMAIL PROTECTED]> wrote: > 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. B

[Vala] gtk+2.0.vapi bug

2008-01-07 Thread Daniel Svensson
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 mul