[vala] glib-2.0: Fix Idle.add default argument
- From: Jürg Billeter <juergbi src gnome org>
- To: svn-commits-list gnome org
- Cc:
- Subject: [vala] glib-2.0: Fix Idle.add default argument
- Date: Tue, 22 Sep 2009 07:05:08 +0000 (UTC)
commit d1233dcd8cbe2a78cb0626cc4489421a67fc6e86
Author: Adam Dingle <adam yorba org>
Date: Tue Sep 22 09:04:15 2009 +0200
glib-2.0: Fix Idle.add default argument
Fixes bug 595885.
vapi/glib-2.0.vapi | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/vapi/glib-2.0.vapi b/vapi/glib-2.0.vapi
index c62b34d..4362fe7 100644
--- a/vapi/glib-2.0.vapi
+++ b/vapi/glib-2.0.vapi
@@ -1252,7 +1252,7 @@ namespace GLib {
namespace Timeout {
[CCode (cname = "g_timeout_add_full")]
- public static uint add (uint interval, owned SourceFunc function, [CCode (pos = 0.1)] int priority = 0);
+ 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);
public static uint add_seconds_full (int priority, uint interval, owned SourceFunc function);
@@ -1265,7 +1265,7 @@ namespace GLib {
namespace Idle {
[CCode (cname = "g_idle_add_full")]
- public static uint add (owned SourceFunc function, [CCode (pos = 0.1)] int priority = 0);
+ public static uint add (owned SourceFunc function, [CCode (pos = 0.1)] int priority = Priority.DEFAULT_IDLE);
public static uint add_full (int priority, owned SourceFunc function);
public static bool remove_by_data (void* data);
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]