[vala] glib-2.0: Add a few Source methods



commit f312f8eb30ed7e2b7c3331cf70dd71886c148207
Author: Michal Hruby <michal mhr gmail com>
Date:   Fri May 25 14:38:30 2012 +0200

    glib-2.0: Add a few Source methods

 vapi/glib-2.0.vapi |    7 +++++++
 1 files changed, 7 insertions(+), 0 deletions(-)
---
diff --git a/vapi/glib-2.0.vapi b/vapi/glib-2.0.vapi
index e6a5ba4..0addc3e 100644
--- a/vapi/glib-2.0.vapi
+++ b/vapi/glib-2.0.vapi
@@ -1582,11 +1582,18 @@ namespace GLib {
 		public void set_can_recurse (bool can_recurse);
 		public bool get_can_recurse ();
 		public uint get_id ();
+		public unowned string? get_name ();
+		public void set_name (string? name);
+		public static void set_name_by_id (uint tag, string? name);
 		public unowned MainContext get_context ();
 		public void set_callback (owned 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);
+		public void add_child_source (Source child_source);
+		public void remove_child_source (Source child_source);
+		public int64 get_time ();
+		[Deprecated (since = "2.28", replacement = "get_time")]
 		public void get_current_time (out TimeVal timeval);
 		public static bool remove (uint id);
 		public static bool remove_by_funcs_user_data (void* user_data);



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]