* 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. 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.
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. -- Ed Schouten <[EMAIL PROTECTED]> WWW: http://g-rave.nl/
pgpaVlWKvQeRW.pgp
Description: PGP signature
_______________________________________________ Vala-list mailing list [email protected] http://mail.gnome.org/mailman/listinfo/vala-list
