]> git.ipfire.org Git - thirdparty/vala.git/commitdiff
gio-2.0: Update to 2.25.9
authorJürg Billeter <j@bitron.ch>
Fri, 18 Jun 2010 05:47:16 +0000 (07:47 +0200)
committerJürg Billeter <j@bitron.ch>
Fri, 18 Jun 2010 05:47:16 +0000 (07:47 +0200)
vapi/gio-2.0.vapi
vapi/packages/gio-2.0/gio-2.0.gi
vapi/packages/gio-2.0/gio-2.0.metadata

index cc53af462e28b4a3bb1ff145de5e8a026b79b973..4a124067cbec781a8a7f369f322738db59f680dc 100644 (file)
@@ -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")]
index 6e9c747168b9f04bb85afe0dddcffba85b64e9e3..64d29c319c52dd13c7aef6d7b16ca10e08985ef7 100644 (file)
                                <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"/>
                                <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">
                                <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>
                                <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>
                        </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>
                        <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"/>
                        </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>
                                        <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>
                                <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">
                                <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">
                                        <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>
                                        <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*"/>
                                <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*"/>
                                        <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*"/>
                                        <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>
                                        <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>
                                        <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>
                                        <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>
                                        <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>
                                        <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"/>
                                        <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"/>
                                        <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>
                                        <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>
                                        <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>
index ce66087fd6c6dc93e75e2dffd8b745066566b562..3e711df7ce20ae4acd5aa142e2e2c69f2b80cb16 100644 (file)
@@ -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"