[vala] gio-2.0: Update to 2.25.9



commit a8147723127222f0bc350d7c150165d70d1d6546
Author: Jürg Billeter <j bitron ch>
Date:   Fri Jun 18 07:47:16 2010 +0200

    gio-2.0: Update to 2.25.9

 vapi/gio-2.0.vapi                      |   86 ++++++-----
 vapi/packages/gio-2.0/gio-2.0.gi       |  269 +++++++++++++++++--------------
 vapi/packages/gio-2.0/gio-2.0.metadata |    3 +-
 3 files changed, 198 insertions(+), 160 deletions(-)
---
diff --git a/vapi/gio-2.0.vapi b/vapi/gio-2.0.vapi
index cc53af4..4a12406 100644
--- a/vapi/gio-2.0.vapi
+++ b/vapi/gio-2.0.vapi
@@ -11,33 +11,37 @@ namespace GLib {
 		public virtual void launch_failed (string startup_notify_id);
 	}
 	[CCode (cheader_filename = "gio/gio.h")]
-	public class Application : GLib.Object {
+	public class Application : GLib.Object, GLib.Initable {
 		[CCode (has_construct_function = false)]
-		public Application (string appid);
+		public Application (string appid, int argc, out unowned string argv);
 		public void add_action (string name, string description);
-		[CCode (has_construct_function = false)]
-		public Application.and_register (string appid, int argc, string argv);
-		public virtual void format_activation_data (GLib.VariantBuilder builder);
 		public unowned string get_action_description (string name);
 		public bool get_action_enabled (string name);
 		public unowned string get_id ();
 		public static unowned GLib.Application get_instance ();
-		public void invoke_action (string name, uint timestamp);
+		public void invoke_action (string name, GLib.Variant platform_data);
 		public unowned string list_actions ();
-		public void register_with_data (int argc, string argv, GLib.Variant platform_data);
 		public void remove_action (string name);
 		public virtual void run ();
 		public void set_action_enabled (string name, bool enabled);
+		public static unowned GLib.Application try_new (string appid, int argc, out unowned string argv) throws GLib.Error;
+		public static unowned GLib.Application unregistered_try_new (string appid, int argc, out unowned string argv) throws GLib.Error;
 		[NoAccessorMethod]
 		public string application_id { owned get; construct; }
 		[NoAccessorMethod]
+		public GLib.Variant argv { owned get; construct; }
+		[NoAccessorMethod]
 		public bool default_quit { get; construct; }
 		[NoAccessorMethod]
 		public bool is_remote { get; }
-		public virtual signal void action (string action_name, uint timestamp);
+		[NoAccessorMethod]
+		public GLib.Variant platform_data { owned get; construct; }
+		[NoAccessorMethod]
+		public bool register { get; construct; }
+		public virtual signal void action_with_data (string action_name, GLib.Variant platform_data);
 		public virtual signal void prepare_activation (GLib.Variant arguments, GLib.Variant platform_data);
 		[HasEmitter]
-		public virtual signal bool quit (uint timestamp);
+		public virtual signal bool quit_with_data (GLib.Variant platform_data);
 	}
 	[CCode (cheader_filename = "gio/gio.h")]
 	public class BufferedInputStream : GLib.FilterInputStream {
@@ -334,12 +338,18 @@ namespace GLib {
 	[CCode (cheader_filename = "gio/gio.h")]
 	public class DBusProxy : GLib.Object, GLib.Initable, GLib.AsyncInitable {
 		[CCode (type = "void", has_construct_function = false)]
-		public DBusProxy (GLib.DBusConnection connection, GLib.Type object_type, GLib.DBusProxyFlags flags, GLib.DBusInterfaceInfo info, string unique_bus_name, string object_path, string interface_name, GLib.Cancellable? cancellable, GLib.AsyncReadyCallback callback);
+		public DBusProxy (GLib.DBusConnection connection, GLib.DBusProxyFlags flags, GLib.DBusInterfaceInfo info, string name, string object_path, string interface_name, GLib.Cancellable? cancellable, GLib.AsyncReadyCallback callback);
 		public void call (string method_name, GLib.Variant parameters, GLib.DBusCallFlags flags, int timeout_msec, GLib.Cancellable? cancellable, GLib.AsyncReadyCallback callback);
 		public unowned GLib.Variant call_finish (GLib.AsyncResult res) throws GLib.Error;
 		public unowned GLib.Variant call_sync (string method_name, GLib.Variant parameters, GLib.DBusCallFlags flags, int timeout_msec, GLib.Cancellable? cancellable) throws GLib.Error;
 		[CCode (has_construct_function = false)]
 		public DBusProxy.finish (GLib.AsyncResult res) throws GLib.Error;
+		[CCode (type = "void", has_construct_function = false)]
+		public DBusProxy.for_bus (GLib.BusType bus_type, GLib.DBusProxyFlags flags, GLib.DBusInterfaceInfo info, string name, string object_path, string interface_name, GLib.Cancellable? cancellable, GLib.AsyncReadyCallback callback);
+		[CCode (has_construct_function = false)]
+		public DBusProxy.for_bus_finish (GLib.AsyncResult res) throws GLib.Error;
+		[CCode (has_construct_function = false)]
+		public DBusProxy.for_bus_sync (GLib.BusType bus_type, GLib.DBusProxyFlags flags, GLib.DBusInterfaceInfo info, string name, string object_path, string interface_name, GLib.Cancellable? cancellable) throws GLib.Error;
 		public unowned GLib.Variant get_cached_property (string property_name);
 		public unowned string get_cached_property_names ();
 		public unowned GLib.DBusConnection get_connection ();
@@ -347,13 +357,15 @@ namespace GLib {
 		public GLib.DBusProxyFlags get_flags ();
 		public unowned GLib.DBusInterfaceInfo get_interface_info ();
 		public unowned string get_interface_name ();
+		public unowned string get_name ();
+		public unowned string get_name_owner ();
 		public unowned string get_object_path ();
-		public unowned string get_unique_bus_name ();
 		public void set_cached_property (string property_name, GLib.Variant value);
 		public void set_default_timeout (int timeout_msec);
 		public void set_interface_info (GLib.DBusInterfaceInfo info);
 		[CCode (has_construct_function = false)]
-		public DBusProxy.sync (GLib.DBusConnection connection, GLib.Type object_type, GLib.DBusProxyFlags flags, GLib.DBusInterfaceInfo info, string unique_bus_name, string object_path, string interface_name, GLib.Cancellable? cancellable) throws GLib.Error;
+		public DBusProxy.sync (GLib.DBusConnection connection, GLib.DBusProxyFlags flags, GLib.DBusInterfaceInfo info, string name, string object_path, string interface_name, GLib.Cancellable? cancellable) throws GLib.Error;
+		public GLib.BusType g_bus_type { construct; }
 		[NoAccessorMethod]
 		public GLib.DBusConnection g_connection { owned get; construct; }
 		[NoAccessorMethod]
@@ -365,9 +377,11 @@ namespace GLib {
 		[NoAccessorMethod]
 		public string g_interface_name { owned get; construct; }
 		[NoAccessorMethod]
-		public string g_object_path { owned get; construct; }
+		public string g_name { owned get; construct; }
+		[NoAccessorMethod]
+		public string g_name_owner { owned get; }
 		[NoAccessorMethod]
-		public string g_unique_bus_name { owned get; construct; }
+		public string g_object_path { owned get; construct; }
 		public virtual signal void g_properties_changed (GLib.Variant changed_properties, string[] invalidated_properties);
 		public virtual signal void g_signal (string sender_name, string signal_name, GLib.Variant parameters);
 	}
@@ -964,6 +978,7 @@ namespace GLib {
 		public bool get_boolean (string key);
 		public unowned GLib.Settings get_child (string name);
 		public double get_double (string key);
+		public int get_enum (string key);
 		public bool get_has_unapplied ();
 		public int get_int (string key);
 		public unowned string get_string (string key);
@@ -974,20 +989,21 @@ namespace GLib {
 		public bool @set (string key, string format);
 		public bool set_boolean (string key, bool value);
 		public bool set_double (string key, double value);
+		public bool set_enum (string key, int value);
 		public bool set_int (string key, int value);
 		public bool set_string (string key, string value);
 		public bool set_strv (string key, string value);
 		public bool set_value (string key, GLib.Variant value);
-		public static bool supports_context (string context);
+		public static void sync ();
 		public static void unbind (void* object, string property);
 		[CCode (has_construct_function = false)]
-		public Settings.with_context (string schema, string context);
+		public Settings.with_backend (string schema, GLib.SettingsBackend backend);
 		[CCode (has_construct_function = false)]
-		public Settings.with_context_and_path (string schema, string context, string path);
+		public Settings.with_backend_and_path (string schema, GLib.SettingsBackend backend, string path);
 		[CCode (has_construct_function = false)]
 		public Settings.with_path (string schema, string path);
 		[NoAccessorMethod]
-		public string context { owned get; construct; }
+		public GLib.SettingsBackend backend { owned get; construct; }
 		public bool has_unapplied { get; }
 		[NoAccessorMethod]
 		public string path { owned get; construct; }
@@ -1017,13 +1033,9 @@ namespace GLib {
 		public virtual void reset (string key, void* origin_tag);
 		[NoWrapper]
 		public virtual void reset_path (string path, void* origin_tag);
-		public static void setup (string context, GLib.SettingsBackend backend);
-		public static void setup_keyfile (string context, string filename);
 		[NoWrapper]
 		public virtual void subscribe (string name);
 		[NoWrapper]
-		public virtual bool supports_context (string context);
-		[NoWrapper]
 		public virtual void sync ();
 		[NoWrapper]
 		public virtual void unsubscribe (string name);
@@ -1032,8 +1044,6 @@ namespace GLib {
 		public virtual bool write (string key, GLib.Variant value, void* origin_tag);
 		[NoWrapper]
 		public virtual bool write_keys (GLib.Tree tree, void* origin_tag);
-		[NoAccessorMethod]
-		public string context { owned get; construct; }
 	}
 	[CCode (cheader_filename = "gio/gio.h")]
 	public class SimpleAsyncResult : GLib.Object, GLib.AsyncResult {
@@ -1549,7 +1559,7 @@ namespace GLib {
 		public static unowned GLib.Icon new_for_string (string str) throws GLib.Error;
 		public unowned string to_string ();
 		[NoWrapper]
-		public abstract bool to_tokens (GLib.PtrArray tokens, int out_version);
+		public abstract bool to_tokens (GLib.GenericArray tokens, int out_version);
 	}
 	[CCode (cheader_filename = "gio/gio.h")]
 	public interface Initable : GLib.Object {
@@ -1664,6 +1674,7 @@ namespace GLib {
 	[CCode (cprefix = "G_BUS_TYPE_", cheader_filename = "gio/gio.h")]
 	public enum BusType {
 		STARTER,
+		NONE,
 		SYSTEM,
 		SESSION
 	}
@@ -1786,7 +1797,8 @@ namespace GLib {
 	public enum DBusProxyFlags {
 		NONE,
 		DO_NOT_LOAD_PROPERTIES,
-		DO_NOT_CONNECT_SIGNALS
+		DO_NOT_CONNECT_SIGNALS,
+		DO_NOT_AUTO_START
 	}
 	[CCode (cprefix = "G_DBUS_SERVER_FLAGS_", cheader_filename = "gio/gio.h")]
 	[Flags]
@@ -2057,10 +2069,6 @@ namespace GLib {
 	[CCode (cheader_filename = "gio/gio.h")]
 	public delegate void BusNameVanishedCallback (GLib.DBusConnection connection, string name);
 	[CCode (cheader_filename = "gio/gio.h")]
-	public delegate void BusProxyAppearedCallback (GLib.DBusConnection connection, string name, string name_owner, GLib.DBusProxy proxy);
-	[CCode (cheader_filename = "gio/gio.h")]
-	public delegate void BusProxyVanishedCallback (GLib.DBusConnection connection, string name);
-	[CCode (cheader_filename = "gio/gio.h")]
 	public delegate unowned GLib.Variant DBusInterfaceGetPropertyFunc (GLib.DBusConnection connection, string sender, string object_path, string interface_name, string property_name, GLib.Error error);
 	[CCode (cheader_filename = "gio/gio.h")]
 	public delegate void DBusInterfaceMethodCallFunc (GLib.DBusConnection connection, string sender, string object_path, string interface_name, string method_name, GLib.Variant parameters, GLib.DBusMethodInvocation invocation);
@@ -2075,7 +2083,7 @@ namespace GLib {
 	[CCode (cheader_filename = "gio/gio.h")]
 	public delegate unowned string DBusSubtreeEnumerateFunc (GLib.DBusConnection connection, string sender, string object_path);
 	[CCode (cheader_filename = "gio/gio.h")]
-	public delegate unowned GLib.PtrArray DBusSubtreeIntrospectFunc (GLib.DBusConnection connection, string sender, string object_path, string node);
+	public delegate unowned GLib.GenericArray DBusSubtreeIntrospectFunc (GLib.DBusConnection connection, string sender, string object_path, string node);
 	[CCode (cheader_filename = "gio/gio.h")]
 	public delegate void FileProgressCallback (int64 current_num_bytes, int64 total_num_bytes);
 	[CCode (cheader_filename = "gio/gio.h", has_target = false)]
@@ -2274,20 +2282,22 @@ namespace GLib {
 	public static uint g_bus_own_name (GLib.BusType bus_type, string name, GLib.BusNameOwnerFlags flags, GLib.BusAcquiredCallback bus_acquired_handler, GLib.BusNameAcquiredCallback name_acquired_handler, GLib.BusNameLostCallback name_lost_handler, GLib.DestroyNotify user_data_free_func);
 	[CCode (cname = "g_bus_own_name_on_connection", cheader_filename = "gio/gio.h")]
 	public static uint g_bus_own_name_on_connection (GLib.DBusConnection connection, string name, GLib.BusNameOwnerFlags flags, GLib.BusNameAcquiredCallback name_acquired_handler, GLib.BusNameLostCallback name_lost_handler, GLib.DestroyNotify user_data_free_func);
+	[CCode (cname = "g_bus_own_name_on_connection_with_closures", cheader_filename = "gio/gio.h")]
+	public static uint g_bus_own_name_on_connection_with_closures (GLib.DBusConnection connection, string name, GLib.BusNameOwnerFlags flags, GLib.Closure name_acquired_closure, GLib.Closure name_lost_closure);
+	[CCode (cname = "g_bus_own_name_with_closures", cheader_filename = "gio/gio.h")]
+	public static uint g_bus_own_name_with_closures (GLib.BusType bus_type, string name, GLib.BusNameOwnerFlags flags, GLib.Closure bus_acquired_closure, GLib.Closure name_acquired_closure, GLib.Closure name_lost_closure);
 	[CCode (cname = "g_bus_unown_name", cheader_filename = "gio/gio.h")]
 	public static void g_bus_unown_name (uint owner_id);
 	[CCode (cname = "g_bus_unwatch_name", cheader_filename = "gio/gio.h")]
 	public static void g_bus_unwatch_name (uint watcher_id);
-	[CCode (cname = "g_bus_unwatch_proxy", cheader_filename = "gio/gio.h")]
-	public static void g_bus_unwatch_proxy (uint watcher_id);
 	[CCode (cname = "g_bus_watch_name", cheader_filename = "gio/gio.h")]
 	public static uint g_bus_watch_name (GLib.BusType bus_type, string name, GLib.BusNameWatcherFlags flags, GLib.BusNameAppearedCallback name_appeared_handler, GLib.BusNameVanishedCallback name_vanished_handler, GLib.DestroyNotify user_data_free_func);
 	[CCode (cname = "g_bus_watch_name_on_connection", cheader_filename = "gio/gio.h")]
 	public static uint g_bus_watch_name_on_connection (GLib.DBusConnection connection, string name, GLib.BusNameWatcherFlags flags, GLib.BusNameAppearedCallback name_appeared_handler, GLib.BusNameVanishedCallback name_vanished_handler, GLib.DestroyNotify user_data_free_func);
-	[CCode (cname = "g_bus_watch_proxy", cheader_filename = "gio/gio.h")]
-	public static uint g_bus_watch_proxy (GLib.BusType bus_type, string name, GLib.BusNameWatcherFlags flags, string object_path, string interface_name, GLib.Type interface_type, GLib.DBusProxyFlags proxy_flags, GLib.BusProxyAppearedCallback proxy_appeared_handler, GLib.BusProxyVanishedCallback proxy_vanished_handler, GLib.DestroyNotify user_data_free_func);
-	[CCode (cname = "g_bus_watch_proxy_on_connection", cheader_filename = "gio/gio.h")]
-	public static uint g_bus_watch_proxy_on_connection (GLib.DBusConnection connection, string name, GLib.BusNameWatcherFlags flags, string object_path, string interface_name, GLib.Type interface_type, GLib.DBusProxyFlags proxy_flags, GLib.BusProxyAppearedCallback proxy_appeared_handler, GLib.BusProxyVanishedCallback proxy_vanished_handler, GLib.DestroyNotify user_data_free_func);
+	[CCode (cname = "g_bus_watch_name_on_connection_with_closures", cheader_filename = "gio/gio.h")]
+	public static uint g_bus_watch_name_on_connection_with_closures (GLib.DBusConnection connection, string name, GLib.BusNameWatcherFlags flags, GLib.Closure name_appeared_closure, GLib.Closure name_vanished_closure);
+	[CCode (cname = "g_bus_watch_name_with_closures", cheader_filename = "gio/gio.h")]
+	public static uint g_bus_watch_name_with_closures (GLib.BusType bus_type, string name, GLib.BusNameWatcherFlags flags, GLib.Closure name_appeared_closure, GLib.Closure name_vanished_closure);
 	[CCode (cname = "g_content_type_can_be_executable", cheader_filename = "gio/gio.h")]
 	public static bool g_content_type_can_be_executable (string type);
 	[CCode (cname = "g_content_type_equals", cheader_filename = "gio/gio.h")]
@@ -2368,6 +2378,8 @@ namespace GLib {
 	public static void g_io_scheduler_cancel_all_jobs ();
 	[CCode (cname = "g_io_scheduler_push_job", cheader_filename = "gio/gio.h")]
 	public static void g_io_scheduler_push_job (GLib.IOSchedulerJobFunc job_func, GLib.DestroyNotify? notify, int io_priority, GLib.Cancellable? cancellable);
+	[CCode (cname = "g_keyfile_settings_backend_new", cheader_filename = "gio/gio.h")]
+	public static unowned GLib.SettingsBackend g_keyfile_settings_backend_new (string filename);
 	[CCode (cname = "g_simple_async_report_error_in_idle", cheader_filename = "gio/gio.h")]
 	public static void g_simple_async_report_error_in_idle (GLib.Object object, GLib.AsyncReadyCallback callback, GLib.Quark domain, int code, string format);
 	[CCode (cname = "g_simple_async_report_gerror_in_idle", cheader_filename = "gio/gio.h")]
diff --git a/vapi/packages/gio-2.0/gio-2.0.gi b/vapi/packages/gio-2.0/gio-2.0.gi
index 6e9c747..64d29c3 100644
--- a/vapi/packages/gio-2.0/gio-2.0.gi
+++ b/vapi/packages/gio-2.0/gio-2.0.gi
@@ -50,19 +50,34 @@
 				<parameter name="user_data_free_func" type="GDestroyNotify"/>
 			</parameters>
 		</function>
-		<function name="g_bus_unown_name" symbol="g_bus_unown_name">
-			<return-type type="void"/>
+		<function name="g_bus_own_name_on_connection_with_closures" symbol="g_bus_own_name_on_connection_with_closures">
+			<return-type type="guint"/>
 			<parameters>
-				<parameter name="owner_id" type="guint"/>
+				<parameter name="connection" type="GDBusConnection*"/>
+				<parameter name="name" type="gchar*"/>
+				<parameter name="flags" type="GBusNameOwnerFlags"/>
+				<parameter name="name_acquired_closure" type="GClosure*"/>
+				<parameter name="name_lost_closure" type="GClosure*"/>
 			</parameters>
 		</function>
-		<function name="g_bus_unwatch_name" symbol="g_bus_unwatch_name">
+		<function name="g_bus_own_name_with_closures" symbol="g_bus_own_name_with_closures">
+			<return-type type="guint"/>
+			<parameters>
+				<parameter name="bus_type" type="GBusType"/>
+				<parameter name="name" type="gchar*"/>
+				<parameter name="flags" type="GBusNameOwnerFlags"/>
+				<parameter name="bus_acquired_closure" type="GClosure*"/>
+				<parameter name="name_acquired_closure" type="GClosure*"/>
+				<parameter name="name_lost_closure" type="GClosure*"/>
+			</parameters>
+		</function>
+		<function name="g_bus_unown_name" symbol="g_bus_unown_name">
 			<return-type type="void"/>
 			<parameters>
-				<parameter name="watcher_id" type="guint"/>
+				<parameter name="owner_id" type="guint"/>
 			</parameters>
 		</function>
-		<function name="g_bus_unwatch_proxy" symbol="g_bus_unwatch_proxy">
+		<function name="g_bus_unwatch_name" symbol="g_bus_unwatch_name">
 			<return-type type="void"/>
 			<parameters>
 				<parameter name="watcher_id" type="guint"/>
@@ -92,36 +107,24 @@
 				<parameter name="user_data_free_func" type="GDestroyNotify"/>
 			</parameters>
 		</function>
-		<function name="g_bus_watch_proxy" symbol="g_bus_watch_proxy">
+		<function name="g_bus_watch_name_on_connection_with_closures" symbol="g_bus_watch_name_on_connection_with_closures">
 			<return-type type="guint"/>
 			<parameters>
-				<parameter name="bus_type" type="GBusType"/>
+				<parameter name="connection" type="GDBusConnection*"/>
 				<parameter name="name" type="gchar*"/>
 				<parameter name="flags" type="GBusNameWatcherFlags"/>
-				<parameter name="object_path" type="gchar*"/>
-				<parameter name="interface_name" type="gchar*"/>
-				<parameter name="interface_type" type="GType"/>
-				<parameter name="proxy_flags" type="GDBusProxyFlags"/>
-				<parameter name="proxy_appeared_handler" type="GBusProxyAppearedCallback"/>
-				<parameter name="proxy_vanished_handler" type="GBusProxyVanishedCallback"/>
-				<parameter name="user_data" type="gpointer"/>
-				<parameter name="user_data_free_func" type="GDestroyNotify"/>
+				<parameter name="name_appeared_closure" type="GClosure*"/>
+				<parameter name="name_vanished_closure" type="GClosure*"/>
 			</parameters>
 		</function>
-		<function name="g_bus_watch_proxy_on_connection" symbol="g_bus_watch_proxy_on_connection">
+		<function name="g_bus_watch_name_with_closures" symbol="g_bus_watch_name_with_closures">
 			<return-type type="guint"/>
 			<parameters>
-				<parameter name="connection" type="GDBusConnection*"/>
+				<parameter name="bus_type" type="GBusType"/>
 				<parameter name="name" type="gchar*"/>
 				<parameter name="flags" type="GBusNameWatcherFlags"/>
-				<parameter name="object_path" type="gchar*"/>
-				<parameter name="interface_name" type="gchar*"/>
-				<parameter name="interface_type" type="GType"/>
-				<parameter name="proxy_flags" type="GDBusProxyFlags"/>
-				<parameter name="proxy_appeared_handler" type="GBusProxyAppearedCallback"/>
-				<parameter name="proxy_vanished_handler" type="GBusProxyVanishedCallback"/>
-				<parameter name="user_data" type="gpointer"/>
-				<parameter name="user_data_free_func" type="GDestroyNotify"/>
+				<parameter name="name_appeared_closure" type="GClosure*"/>
+				<parameter name="name_vanished_closure" type="GClosure*"/>
 			</parameters>
 		</function>
 		<function name="g_content_type_can_be_executable" symbol="g_content_type_can_be_executable">
@@ -384,6 +387,12 @@
 				<parameter name="cancellable" type="GCancellable*"/>
 			</parameters>
 		</function>
+		<function name="g_keyfile_settings_backend_new" symbol="g_keyfile_settings_backend_new">
+			<return-type type="GSettingsBackend*"/>
+			<parameters>
+				<parameter name="filename" type="gchar*"/>
+			</parameters>
+		</function>
 		<function name="g_simple_async_report_error_in_idle" symbol="g_simple_async_report_error_in_idle">
 			<return-type type="void"/>
 			<parameters>
@@ -453,24 +462,6 @@
 				<parameter name="user_data" type="gpointer"/>
 			</parameters>
 		</callback>
-		<callback name="GBusProxyAppearedCallback">
-			<return-type type="void"/>
-			<parameters>
-				<parameter name="connection" type="GDBusConnection*"/>
-				<parameter name="name" type="gchar*"/>
-				<parameter name="name_owner" type="gchar*"/>
-				<parameter name="proxy" type="GDBusProxy*"/>
-				<parameter name="user_data" type="gpointer"/>
-			</parameters>
-		</callback>
-		<callback name="GBusProxyVanishedCallback">
-			<return-type type="void"/>
-			<parameters>
-				<parameter name="connection" type="GDBusConnection*"/>
-				<parameter name="name" type="gchar*"/>
-				<parameter name="user_data" type="gpointer"/>
-			</parameters>
-		</callback>
 		<callback name="GDBusInterfaceGetPropertyFunc">
 			<return-type type="GVariant*"/>
 			<parameters>
@@ -1106,7 +1097,8 @@
 			</constructor>
 		</boxed>
 		<enum name="GBusType" type-name="GBusType" get-type="g_bus_type_get_type">
-			<member name="G_BUS_TYPE_STARTER" value="0"/>
+			<member name="G_BUS_TYPE_STARTER" value="-1"/>
+			<member name="G_BUS_TYPE_NONE" value="0"/>
 			<member name="G_BUS_TYPE_SYSTEM" value="1"/>
 			<member name="G_BUS_TYPE_SESSION" value="2"/>
 		</enum>
@@ -1395,6 +1387,7 @@
 			<member name="G_DBUS_PROXY_FLAGS_NONE" value="0"/>
 			<member name="G_DBUS_PROXY_FLAGS_DO_NOT_LOAD_PROPERTIES" value="1"/>
 			<member name="G_DBUS_PROXY_FLAGS_DO_NOT_CONNECT_SIGNALS" value="2"/>
+			<member name="G_DBUS_PROXY_FLAGS_DO_NOT_AUTO_START" value="4"/>
 		</flags>
 		<flags name="GDBusServerFlags" type-name="GDBusServerFlags" get-type="g_dbus_server_flags_get_type">
 			<member name="G_DBUS_SERVER_FLAGS_NONE" value="0"/>
@@ -1501,6 +1494,9 @@
 			</vfunc>
 		</object>
 		<object name="GApplication" parent="GObject" type-name="GApplication" get-type="g_application_get_type">
+			<implements>
+				<interface name="GInitable"/>
+			</implements>
 			<method name="add_action" symbol="g_application_add_action">
 				<return-type type="void"/>
 				<parameters>
@@ -1509,13 +1505,6 @@
 					<parameter name="description" type="gchar*"/>
 				</parameters>
 			</method>
-			<method name="format_activation_data" symbol="g_application_format_activation_data">
-				<return-type type="void"/>
-				<parameters>
-					<parameter name="app" type="GApplication*"/>
-					<parameter name="builder" type="GVariantBuilder*"/>
-				</parameters>
-			</method>
 			<method name="get_action_description" symbol="g_application_get_action_description">
 				<return-type type="gchar*"/>
 				<parameters>
@@ -1544,7 +1533,7 @@
 				<parameters>
 					<parameter name="application" type="GApplication*"/>
 					<parameter name="name" type="gchar*"/>
-					<parameter name="timestamp" type="guint"/>
+					<parameter name="platform_data" type="GVariant*"/>
 				</parameters>
 			</method>
 			<method name="is_remote" symbol="g_application_is_remote">
@@ -1563,30 +1552,21 @@
 				<return-type type="GApplication*"/>
 				<parameters>
 					<parameter name="appid" type="gchar*"/>
+					<parameter name="argc" type="int"/>
+					<parameter name="argv" type="char**"/>
 				</parameters>
 			</constructor>
-			<constructor name="new_and_register" symbol="g_application_new_and_register">
-				<return-type type="GApplication*"/>
-				<parameters>
-					<parameter name="appid" type="gchar*"/>
-					<parameter name="argc" type="gint"/>
-					<parameter name="argv" type="gchar**"/>
-				</parameters>
-			</constructor>
-			<method name="quit" symbol="g_application_quit">
+			<method name="quit_with_data" symbol="g_application_quit_with_data">
 				<return-type type="gboolean"/>
 				<parameters>
-					<parameter name="app" type="GApplication*"/>
-					<parameter name="timestamp" type="guint"/>
+					<parameter name="application" type="GApplication*"/>
+					<parameter name="platform_data" type="GVariant*"/>
 				</parameters>
 			</method>
-			<method name="register_with_data" symbol="g_application_register_with_data">
-				<return-type type="void"/>
+			<method name="register" symbol="g_application_register">
+				<return-type type="gboolean"/>
 				<parameters>
 					<parameter name="application" type="GApplication*"/>
-					<parameter name="argc" type="gint"/>
-					<parameter name="argv" type="gchar**"/>
-					<parameter name="platform_data" type="GVariant*"/>
 				</parameters>
 			</method>
 			<method name="remove_action" symbol="g_application_remove_action">
@@ -1610,39 +1590,53 @@
 					<parameter name="enabled" type="gboolean"/>
 				</parameters>
 			</method>
+			<method name="try_new" symbol="g_application_try_new">
+				<return-type type="GApplication*"/>
+				<parameters>
+					<parameter name="appid" type="gchar*"/>
+					<parameter name="argc" type="int"/>
+					<parameter name="argv" type="char**"/>
+					<parameter name="error" type="GError**"/>
+				</parameters>
+			</method>
+			<method name="unregistered_try_new" symbol="g_application_unregistered_try_new">
+				<return-type type="GApplication*"/>
+				<parameters>
+					<parameter name="appid" type="gchar*"/>
+					<parameter name="argc" type="int"/>
+					<parameter name="argv" type="char**"/>
+					<parameter name="error" type="GError**"/>
+				</parameters>
+			</method>
 			<property name="application-id" type="char*" readable="1" writable="1" construct="0" construct-only="1"/>
+			<property name="argv" type="GVariant" readable="1" writable="1" construct="0" construct-only="1"/>
 			<property name="default-quit" type="gboolean" readable="1" writable="1" construct="0" construct-only="1"/>
 			<property name="is-remote" type="gboolean" readable="1" writable="0" construct="0" construct-only="0"/>
-			<signal name="action" when="FIRST">
+			<property name="platform-data" type="GVariant" readable="1" writable="1" construct="0" construct-only="1"/>
+			<property name="register" type="gboolean" readable="1" writable="1" construct="0" construct-only="1"/>
+			<signal name="action-with-data" when="FIRST">
 				<return-type type="void"/>
 				<parameters>
 					<parameter name="application" type="GApplication*"/>
 					<parameter name="action_name" type="char*"/>
-					<parameter name="timestamp" type="guint"/>
+					<parameter name="platform_data" type="GVariant"/>
 				</parameters>
 			</signal>
 			<signal name="prepare-activation" when="LAST">
 				<return-type type="void"/>
 				<parameters>
 					<parameter name="application" type="GApplication*"/>
-					<parameter name="arguments" type="GVariant*"/>
-					<parameter name="platform_data" type="GVariant*"/>
+					<parameter name="arguments" type="GVariant"/>
+					<parameter name="platform_data" type="GVariant"/>
 				</parameters>
 			</signal>
-			<signal name="quit" when="LAST">
+			<signal name="quit-with-data" when="LAST">
 				<return-type type="gboolean"/>
 				<parameters>
 					<parameter name="application" type="GApplication*"/>
-					<parameter name="timestamp" type="guint"/>
+					<parameter name="platform_data" type="GVariant"/>
 				</parameters>
 			</signal>
-			<vfunc name="format_activation_data">
-				<return-type type="void"/>
-				<parameters>
-					<parameter name="application" type="GApplication*"/>
-					<parameter name="builder" type="GVariantBuilder*"/>
-				</parameters>
-			</vfunc>
 			<vfunc name="run">
 				<return-type type="void"/>
 				<parameters>
@@ -2837,13 +2831,19 @@
 					<parameter name="proxy" type="GDBusProxy*"/>
 				</parameters>
 			</method>
-			<method name="get_object_path" symbol="g_dbus_proxy_get_object_path">
+			<method name="get_name" symbol="g_dbus_proxy_get_name">
+				<return-type type="gchar*"/>
+				<parameters>
+					<parameter name="proxy" type="GDBusProxy*"/>
+				</parameters>
+			</method>
+			<method name="get_name_owner" symbol="g_dbus_proxy_get_name_owner">
 				<return-type type="gchar*"/>
 				<parameters>
 					<parameter name="proxy" type="GDBusProxy*"/>
 				</parameters>
 			</method>
-			<method name="get_unique_bus_name" symbol="g_dbus_proxy_get_unique_bus_name">
+			<method name="get_object_path" symbol="g_dbus_proxy_get_object_path">
 				<return-type type="gchar*"/>
 				<parameters>
 					<parameter name="proxy" type="GDBusProxy*"/>
@@ -2853,10 +2853,9 @@
 				<return-type type="void"/>
 				<parameters>
 					<parameter name="connection" type="GDBusConnection*"/>
-					<parameter name="object_type" type="GType"/>
 					<parameter name="flags" type="GDBusProxyFlags"/>
 					<parameter name="info" type="GDBusInterfaceInfo*"/>
-					<parameter name="unique_bus_name" type="gchar*"/>
+					<parameter name="name" type="gchar*"/>
 					<parameter name="object_path" type="gchar*"/>
 					<parameter name="interface_name" type="gchar*"/>
 					<parameter name="cancellable" type="GCancellable*"/>
@@ -2871,14 +2870,47 @@
 					<parameter name="error" type="GError**"/>
 				</parameters>
 			</constructor>
+			<constructor name="new_for_bus" symbol="g_dbus_proxy_new_for_bus">
+				<return-type type="void"/>
+				<parameters>
+					<parameter name="bus_type" type="GBusType"/>
+					<parameter name="flags" type="GDBusProxyFlags"/>
+					<parameter name="info" type="GDBusInterfaceInfo*"/>
+					<parameter name="name" type="gchar*"/>
+					<parameter name="object_path" type="gchar*"/>
+					<parameter name="interface_name" type="gchar*"/>
+					<parameter name="cancellable" type="GCancellable*"/>
+					<parameter name="callback" type="GAsyncReadyCallback"/>
+					<parameter name="user_data" type="gpointer"/>
+				</parameters>
+			</constructor>
+			<constructor name="new_for_bus_finish" symbol="g_dbus_proxy_new_for_bus_finish">
+				<return-type type="GDBusProxy*"/>
+				<parameters>
+					<parameter name="res" type="GAsyncResult*"/>
+					<parameter name="error" type="GError**"/>
+				</parameters>
+			</constructor>
+			<constructor name="new_for_bus_sync" symbol="g_dbus_proxy_new_for_bus_sync">
+				<return-type type="GDBusProxy*"/>
+				<parameters>
+					<parameter name="bus_type" type="GBusType"/>
+					<parameter name="flags" type="GDBusProxyFlags"/>
+					<parameter name="info" type="GDBusInterfaceInfo*"/>
+					<parameter name="name" type="gchar*"/>
+					<parameter name="object_path" type="gchar*"/>
+					<parameter name="interface_name" type="gchar*"/>
+					<parameter name="cancellable" type="GCancellable*"/>
+					<parameter name="error" type="GError**"/>
+				</parameters>
+			</constructor>
 			<constructor name="new_sync" symbol="g_dbus_proxy_new_sync">
 				<return-type type="GDBusProxy*"/>
 				<parameters>
 					<parameter name="connection" type="GDBusConnection*"/>
-					<parameter name="object_type" type="GType"/>
 					<parameter name="flags" type="GDBusProxyFlags"/>
 					<parameter name="info" type="GDBusInterfaceInfo*"/>
-					<parameter name="unique_bus_name" type="gchar*"/>
+					<parameter name="name" type="gchar*"/>
 					<parameter name="object_path" type="gchar*"/>
 					<parameter name="interface_name" type="gchar*"/>
 					<parameter name="cancellable" type="GCancellable*"/>
@@ -2907,18 +2939,20 @@
 					<parameter name="info" type="GDBusInterfaceInfo*"/>
 				</parameters>
 			</method>
+			<property name="g-bus-type" type="GBusType" readable="0" writable="1" construct="0" construct-only="1"/>
 			<property name="g-connection" type="GDBusConnection*" readable="1" writable="1" construct="0" construct-only="1"/>
 			<property name="g-default-timeout" type="gint" readable="1" writable="1" construct="1" construct-only="0"/>
 			<property name="g-flags" type="GDBusProxyFlags" readable="1" writable="1" construct="0" construct-only="1"/>
 			<property name="g-interface-info" type="GDBusInterfaceInfo*" readable="1" writable="1" construct="0" construct-only="0"/>
 			<property name="g-interface-name" type="char*" readable="1" writable="1" construct="0" construct-only="1"/>
+			<property name="g-name" type="char*" readable="1" writable="1" construct="0" construct-only="1"/>
+			<property name="g-name-owner" type="char*" readable="1" writable="0" construct="0" construct-only="0"/>
 			<property name="g-object-path" type="char*" readable="1" writable="1" construct="0" construct-only="1"/>
-			<property name="g-unique-bus-name" type="char*" readable="1" writable="1" construct="0" construct-only="1"/>
 			<signal name="g-properties-changed" when="LAST">
 				<return-type type="void"/>
 				<parameters>
 					<parameter name="proxy" type="GDBusProxy*"/>
-					<parameter name="changed_properties" type="GVariant*"/>
+					<parameter name="changed_properties" type="GVariant"/>
 					<parameter name="invalidated_properties" type="GStrv*"/>
 				</parameters>
 			</signal>
@@ -2928,7 +2962,7 @@
 					<parameter name="proxy" type="GDBusProxy*"/>
 					<parameter name="sender_name" type="char*"/>
 					<parameter name="signal_name" type="char*"/>
-					<parameter name="parameters" type="GVariant*"/>
+					<parameter name="parameters" type="GVariant"/>
 				</parameters>
 			</signal>
 		</object>
@@ -5770,6 +5804,13 @@
 					<parameter name="key" type="gchar*"/>
 				</parameters>
 			</method>
+			<method name="get_enum" symbol="g_settings_get_enum">
+				<return-type type="gint"/>
+				<parameters>
+					<parameter name="settings" type="GSettings*"/>
+					<parameter name="key" type="gchar*"/>
+				</parameters>
+			</method>
 			<method name="get_has_unapplied" symbol="g_settings_get_has_unapplied">
 				<return-type type="gboolean"/>
 				<parameters>
@@ -5817,18 +5858,18 @@
 					<parameter name="schema" type="gchar*"/>
 				</parameters>
 			</constructor>
-			<constructor name="new_with_context" symbol="g_settings_new_with_context">
+			<constructor name="new_with_backend" symbol="g_settings_new_with_backend">
 				<return-type type="GSettings*"/>
 				<parameters>
 					<parameter name="schema" type="gchar*"/>
-					<parameter name="context" type="gchar*"/>
+					<parameter name="backend" type="GSettingsBackend*"/>
 				</parameters>
 			</constructor>
-			<constructor name="new_with_context_and_path" symbol="g_settings_new_with_context_and_path">
+			<constructor name="new_with_backend_and_path" symbol="g_settings_new_with_backend_and_path">
 				<return-type type="GSettings*"/>
 				<parameters>
 					<parameter name="schema" type="gchar*"/>
-					<parameter name="context" type="gchar*"/>
+					<parameter name="backend" type="GSettingsBackend*"/>
 					<parameter name="path" type="gchar*"/>
 				</parameters>
 			</constructor>
@@ -5869,6 +5910,14 @@
 					<parameter name="value" type="gdouble"/>
 				</parameters>
 			</method>
+			<method name="set_enum" symbol="g_settings_set_enum">
+				<return-type type="gboolean"/>
+				<parameters>
+					<parameter name="settings" type="GSettings*"/>
+					<parameter name="key" type="gchar*"/>
+					<parameter name="value" type="gint"/>
+				</parameters>
+			</method>
 			<method name="set_int" symbol="g_settings_set_int">
 				<return-type type="gboolean"/>
 				<parameters>
@@ -5901,11 +5950,8 @@
 					<parameter name="value" type="GVariant*"/>
 				</parameters>
 			</method>
-			<method name="supports_context" symbol="g_settings_supports_context">
-				<return-type type="gboolean"/>
-				<parameters>
-					<parameter name="context" type="gchar*"/>
-				</parameters>
+			<method name="sync" symbol="g_settings_sync">
+				<return-type type="void"/>
 			</method>
 			<method name="unbind" symbol="g_settings_unbind">
 				<return-type type="void"/>
@@ -5914,7 +5960,7 @@
 					<parameter name="property" type="gchar*"/>
 				</parameters>
 			</method>
-			<property name="context" type="char*" readable="1" writable="1" construct="0" construct-only="1"/>
+			<property name="backend" type="GSettingsBackend*" readable="1" writable="1" construct="0" construct-only="1"/>
 			<property name="has-unapplied" type="gboolean" readable="1" writable="0" construct="0" construct-only="0"/>
 			<property name="path" type="char*" readable="1" writable="1" construct="0" construct-only="1"/>
 			<property name="schema" type="char*" readable="1" writable="1" construct="0" construct-only="1"/>
@@ -5998,20 +6044,6 @@
 					<parameter name="path" type="gchar*"/>
 				</parameters>
 			</method>
-			<method name="setup" symbol="g_settings_backend_setup">
-				<return-type type="void"/>
-				<parameters>
-					<parameter name="context" type="gchar*"/>
-					<parameter name="backend" type="GSettingsBackend*"/>
-				</parameters>
-			</method>
-			<method name="setup_keyfile" symbol="g_settings_backend_setup_keyfile">
-				<return-type type="void"/>
-				<parameters>
-					<parameter name="context" type="gchar*"/>
-					<parameter name="filename" type="gchar*"/>
-				</parameters>
-			</method>
 			<method name="writable_changed" symbol="g_settings_backend_writable_changed">
 				<return-type type="void"/>
 				<parameters>
@@ -6019,7 +6051,6 @@
 					<parameter name="key" type="gchar*"/>
 				</parameters>
 			</method>
-			<property name="context" type="char*" readable="1" writable="1" construct="0" construct-only="1"/>
 			<vfunc name="get_permission">
 				<return-type type="GPermission*"/>
 				<parameters>
@@ -6076,12 +6107,6 @@
 					<parameter name="name" type="gchar*"/>
 				</parameters>
 			</vfunc>
-			<vfunc name="supports_context">
-				<return-type type="gboolean"/>
-				<parameters>
-					<parameter name="context" type="gchar*"/>
-				</parameters>
-			</vfunc>
 			<vfunc name="sync">
 				<return-type type="void"/>
 				<parameters>
diff --git a/vapi/packages/gio-2.0/gio-2.0.metadata b/vapi/packages/gio-2.0/gio-2.0.metadata
index ce66087..3e711df 100644
--- a/vapi/packages/gio-2.0/gio-2.0.metadata
+++ b/vapi/packages/gio-2.0/gio-2.0.metadata
@@ -140,7 +140,8 @@ g_memory_input_stream_*.destroy nullable="1"
 g_memory_output_stream_*.destroy_function nullable="1"
 
 g_application_is_remote hidden="1"
-GApplication::quit has_emitter="1"
+GApplication::quit_with_data has_emitter="1"
+g_application_register hidden="1"
 
 GDBusAuthObserver::authorize_authenticated_peer has_emitter="1"
 GDBusConnection:closed hidden="1"



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