]> git.ipfire.org Git - thirdparty/vala.git/commitdiff
glib-2.0: Ultimate fix for Thread.foreach bindings
authorLuca Bruno <lucabru@src.gnome.org>
Mon, 25 Apr 2011 19:13:25 +0000 (21:13 +0200)
committerLuca Bruno <lucabru@src.gnome.org>
Mon, 25 Apr 2011 19:13:25 +0000 (21:13 +0200)
Fixes bug 648588.

vapi/glib-2.0.vapi

index e4c96404f893e1b68294e775c9defee8c67704ea..628c6ed0620b680a18f158bb3b6245f6a0678fa7 100644 (file)
@@ -1824,8 +1824,7 @@ namespace GLib {
                public void set_priority (ThreadPriority priority);
                public static void yield ();
                public static void exit (T retval);
-               [CCode (simple_generics = true)]
-               public static void @foreach<T> (Func<T> thread_func);
+               public static void @foreach (Func<Thread> thread_func);
 
                [CCode (cname = "g_usleep")]
                public static void usleep (ulong microseconds);