diff --git a/src/HandleModel.cs b/src/HandleModel.cs index 285d160..b0fc106 100644 --- a/src/HandleModel.cs +++ b/src/HandleModel.cs @@ -489,12 +489,10 @@ namespace Muine } [DllImport("libgtk-2.0-0.dll")] - static extern void gtk_tree_model_rows_reordered(IntPtr raw, IntPtr path, ref Gtk.TreeIter iter, out int new_order); + static extern void gtk_tree_model_rows_reordered(IntPtr raw, IntPtr path, ref Gtk.TreeIter iter, out int[] new_order); - public int EmitRowsReordered(Gtk.TreePath path, Gtk.TreeIter iter) { - int new_order; + public void EmitRowsReordered(Gtk.TreePath path, Gtk.TreeIter iter, int[] new_order) { gtk_tree_model_rows_reordered(Handle, path.Handle, ref iter, out new_order); - return new_order; } [DllImport("libgtk-2.0-0.dll")]