[vala/0.12] gdk-3.0: Fix Gdk.threads_add_* bindings
- From: Jürg Billeter <juergbi src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [vala/0.12] gdk-3.0: Fix Gdk.threads_add_* bindings
- Date: Sun, 29 May 2011 11:20:07 +0000 (UTC)
commit 794502301ef0bd8e5ec38217ee4f9d2aacfccaca
Author: Luca Bruno <lucabru src gnome org>
Date: Fri Apr 29 13:03:06 2011 +0200
gdk-3.0: Fix Gdk.threads_add_* bindings
Fixes bug 648744.
vapi/gdk-3.0.vapi | 10 +++++-----
vapi/packages/gdk-3.0/gdk-3.0.metadata | 4 +++-
2 files changed, 8 insertions(+), 6 deletions(-)
---
diff --git a/vapi/gdk-3.0.vapi b/vapi/gdk-3.0.vapi
index 0199ead..c46bf85 100644
--- a/vapi/gdk-3.0.vapi
+++ b/vapi/gdk-3.0.vapi
@@ -1366,15 +1366,15 @@ namespace Gdk {
[CCode (cheader_filename = "gdk/gdk.h")]
public static uint threads_add_idle (GLib.SourceFunc function);
[CCode (cheader_filename = "gdk/gdk.h")]
- public static uint threads_add_idle_full (int priority, GLib.SourceFunc function, void* data, GLib.DestroyNotify notify);
+ public static uint threads_add_idle_full (int priority, owned GLib.SourceFunc function);
[CCode (cheader_filename = "gdk/gdk.h")]
- public static uint threads_add_timeout (uint interval, GLib.SourceFunc function, void* data);
+ public static uint threads_add_timeout (uint interval, GLib.SourceFunc function);
[CCode (cheader_filename = "gdk/gdk.h")]
- public static uint threads_add_timeout_full (int priority, uint interval, GLib.SourceFunc function, void* data, GLib.DestroyNotify notify);
+ public static uint threads_add_timeout_full (int priority, uint interval, owned GLib.SourceFunc function);
[CCode (cheader_filename = "gdk/gdk.h")]
- public static uint threads_add_timeout_seconds (uint interval, GLib.SourceFunc function, void* data);
+ public static uint threads_add_timeout_seconds (uint interval, GLib.SourceFunc function);
[CCode (cheader_filename = "gdk/gdk.h")]
- public static uint threads_add_timeout_seconds_full (int priority, uint interval, GLib.SourceFunc function, void* data, GLib.DestroyNotify notify);
+ public static uint threads_add_timeout_seconds_full (int priority, uint interval, owned GLib.SourceFunc function);
[CCode (cheader_filename = "gdk/gdk.h")]
public static void threads_enter ();
[CCode (cheader_filename = "gdk/gdk.h")]
diff --git a/vapi/packages/gdk-3.0/gdk-3.0.metadata b/vapi/packages/gdk-3.0/gdk-3.0.metadata
index 65c7a5c..17174ab 100644
--- a/vapi/packages/gdk-3.0/gdk-3.0.metadata
+++ b/vapi/packages/gdk-3.0/gdk-3.0.metadata
@@ -121,7 +121,9 @@ gdk_spawn_on_screen_with_pipes.child_pid is_out="1"
gdk_spawn_on_screen_with_pipes.standard_input is_out="1"
gdk_spawn_on_screen_with_pipes.standard_output is_out="1"
gdk_spawn_on_screen_with_pipes.standard_error is_out="1"
-gdk_threads_add_idle.data hidden="1"
+gdk_threads_add_*.data hidden="1"
+gdk_threads_add_*_full.function transfer_ownership="1"
+gdk_threads_add_*_full.notify hidden="1"
GdkTimeCoord is_value_type="1"
GdkTrapezoid is_value_type="1"
GdkVisualClass hidden="1"
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]