]> git.ipfire.org Git - thirdparty/vala.git/commitdiff
glib-2.0: Support owned delegates with Timeout.add_seconds
authorJens Georg <mail@jensge.org>
Tue, 22 Sep 2009 10:14:06 +0000 (12:14 +0200)
committerJürg Billeter <j@bitron.ch>
Wed, 23 Sep 2009 07:29:00 +0000 (09:29 +0200)
Fixes bug 595933.

vapi/glib-2.0.vapi

index 4362fe7a7281fb41db2eaa6a141b037d9a3bca9b..aeeee3ebd2ee574efebdc585a91a0c0087933456 100644 (file)
@@ -1254,7 +1254,8 @@ namespace GLib {
                [CCode (cname = "g_timeout_add_full")]
                public static uint add (uint interval, owned SourceFunc function, [CCode (pos = 0.1)] int priority = Priority.DEFAULT);
                public static uint add_full (int priority, uint interval, owned SourceFunc function);
-               public static uint add_seconds (uint interval, SourceFunc function);
+               [CCode (cname = "g_timeout_add_seconds_full")]
+               public static uint add_seconds (uint interval, owned SourceFunc function, [CCode (pos = 0.1)] int priority = Priority.DEFAULT);
                public static uint add_seconds_full (int priority, uint interval, owned SourceFunc function);
        }