]> 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)
committerLuca Bruno <lucabru@src.gnome.org>
Sat, 16 Apr 2011 08:28:23 +0000 (10:28 +0200)
Fixes bug 647911.

vapi/glib-2.0.vapi

index 846449667795d8dadb7ab389073b5219c364e0c6..d9764001868860f3aabe52ea8dbda6176d6234b6 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 {