[vala] glib-2.0: Fix g_timeout_add_seconds_full and g_source_set_callback
- From: Jürg Billeter <juergbi src gnome org>
- To: svn-commits-list gnome org
- Subject: [vala] glib-2.0: Fix g_timeout_add_seconds_full and g_source_set_callback
- Date: Sun, 29 Mar 2009 15:16:48 -0400 (EDT)
commit e2e7652dfd9bb82f0f51e4c7036bec3d0838fc40
Author: Evan Nemerson <evan polussystems com>
Date: Sat Mar 28 00:54:10 2009 -0700
glib-2.0: Fix g_timeout_add_seconds_full and g_source_set_callback
Make GLib.Timeout.add_seconds_full and GLib.Source.set_callback
generate the appropriate GDestroyNotify arguments automatically.
Fixes bug 577048.
---
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 b9efdd9..0f415e7 100644
--- a/vapi/glib-2.0.vapi
+++ b/vapi/glib-2.0.vapi
@@ -1210,7 +1210,7 @@ namespace GLib {
public static uint add (uint interval, SourceFunc function);
public static uint add_full (int priority, uint interval, SourceFunc# function);
public static uint add_seconds (uint interval, SourceFunc function);
- public static uint add_seconds_full (int priority, uint interval, SourceFunc function, DestroyNotify? notify);
+ public static uint add_seconds_full (int priority, uint interval, SourceFunc# function);
}
[CCode (cname = "GSource")]
@@ -1260,7 +1260,7 @@ namespace GLib {
public bool get_can_recurse ();
public uint get_id ();
public weak MainContext get_context ();
- public void set_callback (SourceFunc func, DestroyNotify? notify);
+ public void set_callback (SourceFunc# func);
public void set_callback_indirect (void* callback_data, SourceCallbackFuncs callback_funcs);
public void add_poll (ref PollFD fd);
public void remove_poll (ref PollFD fd);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]