]> git.ipfire.org Git - thirdparty/vala.git/commitdiff
glib-2.0: Add generic to ThreadPool.set_sort_function callback
authorLuca Bruno <lucabru@src.gnome.org>
Tue, 6 Mar 2012 12:41:57 +0000 (13:41 +0100)
committerLuca Bruno <lucabru@src.gnome.org>
Tue, 6 Mar 2012 12:42:49 +0000 (13:42 +0100)
Thanks to Paul Jakma for the patch.

Fixes bug 670205.

vapi/glib-2.0.vapi

index 1f418ffd8a9adfc2fd30a1af18bf784d110b30cb..a36d7c6d51959cf5a37e2630d29b0633aa52f4ef 100644 (file)
@@ -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 ();
        }