[vala] glib-2.0: add MainContext.invoke and invoke_full
- From: Ryan Lortie <ryanl src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [vala] glib-2.0: add MainContext.invoke and invoke_full
- Date: Mon, 4 Oct 2010 12:35:43 +0000 (UTC)
commit 3bff7f548eb7415002eb1f3b56bef9d1e6043ca0
Author: Ryan Lortie <desrt desrt ca>
Date: Mon Oct 4 08:35:14 2010 -0400
glib-2.0: add MainContext.invoke and invoke_full
vapi/glib-2.0.vapi | 3 +++
1 files changed, 3 insertions(+), 0 deletions(-)
---
diff --git a/vapi/glib-2.0.vapi b/vapi/glib-2.0.vapi
index b6f97da..397a9a3 100644
--- a/vapi/glib-2.0.vapi
+++ b/vapi/glib-2.0.vapi
@@ -1481,6 +1481,9 @@ namespace GLib {
public unowned string? get_name ();
public void set_name (string? name);
public static void set_name_by_id (uint tag, string? name);
+ [CCode (cname = "g_main_context_invoke_full")]
+ public void invoke (owned SourceFunc function, [CCode (pos = 0.1)] int priority = Priority.DEFAULT);
+ public void invoke_full (int priority, owned SourceFunc function);
}
[CCode (has_target = false)]
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]