[vala] glib-2.0: Ultimate fix for Thread.foreach bindings



commit 6928c547a3bfcb0de5e4faedf2074a216d46f3a5
Author: Luca Bruno <lucabru src gnome org>
Date:   Mon Apr 25 21:13:25 2011 +0200

    glib-2.0: Ultimate fix for Thread.foreach bindings
    
    Fixes bug 648588.

 vapi/glib-2.0.vapi |    3 +--
 1 files changed, 1 insertions(+), 2 deletions(-)
---
diff --git a/vapi/glib-2.0.vapi b/vapi/glib-2.0.vapi
index e4c9640..628c6ed 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);



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