From: Jens Georg Date: Tue, 22 Sep 2009 10:14:06 +0000 (+0200) Subject: glib-2.0: Support owned delegates with Timeout.add_seconds X-Git-Tag: 0.7.7~49 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=1e66bde07e515f8c480c1cbc64ed054ce625d252;p=thirdparty%2Fvala.git glib-2.0: Support owned delegates with Timeout.add_seconds Fixes bug 595933. --- diff --git a/vapi/glib-2.0.vapi b/vapi/glib-2.0.vapi index 4362fe7a7..aeeee3ebd 100644 --- a/vapi/glib-2.0.vapi +++ b/vapi/glib-2.0.vapi @@ -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); }