diff options
author | Juerg Billeter <j@bitron.ch> | 2008-03-17 20:04:44 +0000 |
---|---|---|
committer | Jürg Billeter <juergbi@src.gnome.org> | 2008-03-17 20:04:44 +0000 |
commit | 94c0c4712da9e722d324cbeb36a696976727b57b (patch) | |
tree | a5c79bfbe422079d8b32e91c26a2e5c58f576880 | |
parent | dfeb765aec090742747fbb155688b4f0a0825681 (diff) | |
download | vala-94c0c4712da9e722d324cbeb36a696976727b57b.tar.gz |
fix GChildWatch bindings
2008-03-17 Juerg Billeter <j@bitron.ch>
* vapi/glib-2.0.vapi: fix GChildWatch bindings
svn path=/trunk/; revision=1135
-rw-r--r-- | ChangeLog | 4 | ||||
-rw-r--r-- | vapi/glib-2.0.vapi | 8 |
2 files changed, 8 insertions, 4 deletions
@@ -1,5 +1,9 @@ 2008-03-17 Jürg Billeter <j@bitron.ch> + * vapi/glib-2.0.vapi: fix GChildWatch bindings + +2008-03-17 Jürg Billeter <j@bitron.ch> + * vapigen/valagidlparser.vala: detect GStrv type * vapi/packages/gio-2.0/: update to glib 2.16.1 diff --git a/vapi/glib-2.0.vapi b/vapi/glib-2.0.vapi index 5c3230d29..2510be299 100644 --- a/vapi/glib-2.0.vapi +++ b/vapi/glib-2.0.vapi @@ -720,7 +720,7 @@ namespace GLib { [CCode (cname = "G_TYPE_FROM_INSTANCE")] public Type get_type (); - public Object @ref (); + public weak Object @ref (); public void unref (); public Object ref_sink (); public void get (...); @@ -1103,15 +1103,15 @@ namespace GLib { public struct Pid { } - public static delegate void ChildWatchFunc (Pid pid, int status, pointer data); + public delegate void ChildWatchFunc (Pid pid, int status); public class ChildWatchSource : Source { public ChildWatchSource (Pid pid, int status, pointer data); } public static class ChildWatch { - public static uint add (Pid pid, ChildWatchFunc function, pointer data); - public static uint add_full (int priority, Pid pid, ChildWatchFunc function, pointer data, DestroyNotify notify); + public static uint add (Pid pid, ChildWatchFunc function); + public static uint add_full (int priority, Pid pid, ChildWatchFunc function, DestroyNotify notify); } public struct PollFD { |