1 |
loki_val 09/08/22 22:12:31 |
2 |
|
3 |
Added: muine-0.8.10-gtk-sharp-2.12.9.patch |
4 |
Log: |
5 |
Fix bug 272651, bugzilla.gnome.org bug 584702. Patch by Iain Lane. |
6 |
(Portage version: 2.2_rc39/cvs/Linux x86_64) |
7 |
|
8 |
Revision Changes Path |
9 |
1.1 media-sound/muine/files/muine-0.8.10-gtk-sharp-2.12.9.patch |
10 |
|
11 |
file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/media-sound/muine/files/muine-0.8.10-gtk-sharp-2.12.9.patch?rev=1.1&view=markup |
12 |
plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/media-sound/muine/files/muine-0.8.10-gtk-sharp-2.12.9.patch?rev=1.1&content-type=text/plain |
13 |
|
14 |
Index: muine-0.8.10-gtk-sharp-2.12.9.patch |
15 |
=================================================================== |
16 |
diff --git a/src/HandleModel.cs b/src/HandleModel.cs |
17 |
index 285d160..b0fc106 100644 |
18 |
--- a/src/HandleModel.cs |
19 |
+++ b/src/HandleModel.cs |
20 |
@@ -489,12 +489,10 @@ namespace Muine |
21 |
} |
22 |
|
23 |
[DllImport("libgtk-2.0-0.dll")] |
24 |
- static extern void gtk_tree_model_rows_reordered(IntPtr raw, IntPtr path, ref Gtk.TreeIter iter, out int new_order); |
25 |
+ static extern void gtk_tree_model_rows_reordered(IntPtr raw, IntPtr path, ref Gtk.TreeIter iter, out int[] new_order); |
26 |
|
27 |
- public int EmitRowsReordered(Gtk.TreePath path, Gtk.TreeIter iter) { |
28 |
- int new_order; |
29 |
+ public void EmitRowsReordered(Gtk.TreePath path, Gtk.TreeIter iter, int[] new_order) { |
30 |
gtk_tree_model_rows_reordered(Handle, path.Handle, ref iter, out new_order); |
31 |
- return new_order; |
32 |
} |
33 |
|
34 |
[DllImport("libgtk-2.0-0.dll")] |