summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLuca Bruno <lucabru@src.gnome.org>2011-04-25 21:13:25 +0200
committerLuca Bruno <lucabru@src.gnome.org>2011-04-25 21:13:25 +0200
commit6928c547a3bfcb0de5e4faedf2074a216d46f3a5 (patch)
treec47e0f6757a981d3247f91a8b7110b03e789c4d0
parent7fbb291a5933704b8c1b187f5bcd570aab88482c (diff)
downloadvala-6928c547a3bfcb0de5e4faedf2074a216d46f3a5.tar.gz
glib-2.0: Ultimate fix for Thread.foreach bindings
Fixes bug 648588.
-rw-r--r--vapi/glib-2.0.vapi3
1 files changed, 1 insertions, 2 deletions
diff --git a/vapi/glib-2.0.vapi b/vapi/glib-2.0.vapi
index e4c96404f..628c6ed06 100644
--- a/vapi/glib-2.0.vapi
+++ b/vapi/glib-2.0.vapi
@@ -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);