[vala] glib-2.0: Add generic to ThreadPool.set_sort_function callback



commit 5cf826c7ca3d09f9a2105fdf151823eff329d847
Author: Luca Bruno <lucabru src gnome org>
Date:   Tue Mar 6 13:41:57 2012 +0100

    glib-2.0: Add generic to ThreadPool.set_sort_function callback
    
    Thanks to Paul Jakma for the patch.
    
    Fixes bug 670205.

 vapi/glib-2.0.vapi |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/vapi/glib-2.0.vapi b/vapi/glib-2.0.vapi
index 1f418ff..a36d7c6 100644
--- a/vapi/glib-2.0.vapi
+++ b/vapi/glib-2.0.vapi
@@ -1961,7 +1961,7 @@ namespace GLib {
 		public static int get_max_unused_threads ();
 		public static uint get_num_unused_threads ();
 		public static void stop_unused_threads ();
-		public void set_sort_function (CompareDataFunc func);
+		public void set_sort_function (CompareDataFunc<T> func);
 		public static void set_max_idle_time (uint interval);
 		public static uint get_max_idle_time ();
 	}



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