[vala] glib-2.0: Support owned delegates with Timeout.add_seconds



commit 1e66bde07e515f8c480c1cbc64ed054ce625d252
Author: Jens Georg <mail jensge org>
Date:   Tue Sep 22 12:14:06 2009 +0200

    glib-2.0: Support owned delegates with Timeout.add_seconds
    
    Fixes bug 595933.

 vapi/glib-2.0.vapi |    3 ++-
 1 files changed, 2 insertions(+), 1 deletions(-)
---
diff --git a/vapi/glib-2.0.vapi b/vapi/glib-2.0.vapi
index 4362fe7..aeeee3e 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);
 	}
 



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]