[muine] 2009-07-22 Iain Lane <laney ubuntu com>



commit 3b8fc4f050db8762ce5bfb5c754e67657c6ee3f9
Author: Priit Laes <plaes plaes org>
Date:   Wed Jul 22 08:33:30 2009 +0300

    2009-07-22  Iain Lane <laney ubuntu com>
    
    	* configure.in:
    	* src/HandleModel.cs:
    	Update EmitRowReordered to new Gtk# 2.12.9 API, fixes bug #584702.
    	Require at least gtk-sharp-2.12.9.
    
    Signed-off-by: Priit Laes <plaes plaes org>

 ChangeLog          |    7 +++++++
 configure.in       |    2 +-
 src/HandleModel.cs |    6 ++----
 3 files changed, 10 insertions(+), 5 deletions(-)
---
diff --git a/ChangeLog b/ChangeLog
index 6d0ef25..be2b2ce 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,10 @@
+2009-07-22  Iain Lane <laney ubuntu com>
+
+	* configure.in:
+	* src/HandleModel.cs:
+	Update EmitRowReordered to new Gtk# 2.12.9 API, fixes bug #584702. 
+	Require at least gtk-sharp-2.12.9.
+
 2009-03-17  Tobias Mueller <tobiasmue gnome org>
 
 	* plugins/TrayIcon.cs DBusLib/AssemblyInfo.cs DBusLib/Player.cs 
diff --git a/configure.in b/configure.in
index fdf02e3..e7295b0 100644
--- a/configure.in
+++ b/configure.in
@@ -27,7 +27,7 @@ GLIB_REQUIRED=2.14
 GTK_REQUIRED=2.8
 ICON_THEME_REQUIRED=2.10
 MONO_REQUIRED=1.1
-GTKSHARP_REQUIRED=2.8.0
+GTKSHARP_REQUIRED=2.19.2
 TAGLIBSHARP_REQUIRED=2.0.3
 MONODOC_REQUIRED=1.1.9
 
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")]



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