[vala/0.12] glib-2.0: Fix ChildWatchSource binding



commit ed24d1b5a1fc843ca833dcc108d3c90b8f6fc76e
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 afa0b90..3137ccb 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]