[vala] glib-2.0: Fix ChildWatchSource binding



commit f645e53d845c0ebb8ecfeb0e6151b58fd2342edd
Author: Colomban Wendling <ban herbesfolles org>
Date:   Fri Apr 15 23:53:09 2011 +0200

    glib-2.0: Fix ChildWatchSource binding
    
    Fixes bug 647911.

 vapi/glib-2.0.vapi |    3 ++-
 1 files changed, 2 insertions(+), 1 deletions(-)
---
diff --git a/vapi/glib-2.0.vapi b/vapi/glib-2.0.vapi
index 8464496..d976400 100644
--- a/vapi/glib-2.0.vapi
+++ b/vapi/glib-2.0.vapi
@@ -1717,8 +1717,9 @@ namespace GLib {
 
 	public delegate void ChildWatchFunc (Pid pid, int status);
 	
+	[CCode (cname = "GSource")]
 	public class ChildWatchSource : Source {
-		public ChildWatchSource (Pid pid, int status, void* data);
+		public ChildWatchSource (Pid pid);
 	}
 	
 	namespace ChildWatch {



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