]> git.ipfire.org Git - thirdparty/vala.git/commitdiff
glib-2.0: Fix ChildWatchSource binding
authorColomban Wendling <ban@herbesfolles.org>
Fri, 15 Apr 2011 21:53:09 +0000 (23:53 +0200)
committerJürg Billeter <j@bitron.ch>
Sun, 29 May 2011 08:56:30 +0000 (10:56 +0200)
Fixes bug 647911.

vapi/glib-2.0.vapi

index afa0b90f110f5c8359062d311a30d0f7291b4408..3137ccbd4d754d1ffced71da0e3250b962e1d044 100644 (file)
@@ -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 {