From d1233dcd8cbe2a78cb0626cc4489421a67fc6e86 Mon Sep 17 00:00:00 2001 From: Adam Dingle Date: Tue, 22 Sep 2009 09:04:15 +0200 Subject: [PATCH] glib-2.0: Fix Idle.add default argument Fixes bug 595885. --- vapi/glib-2.0.vapi | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/vapi/glib-2.0.vapi b/vapi/glib-2.0.vapi index c62b34df6..4362fe7a7 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); } -- 2.47.3