]> git.ipfire.org Git - thirdparty/vala.git/commitdiff
vapi: Update GIR-based bindings
authorRico Tzschichholz <ricotz@ubuntu.com>
Sat, 16 Mar 2019 16:36:20 +0000 (17:36 +0100)
committerRico Tzschichholz <ricotz@ubuntu.com>
Sat, 16 Mar 2019 16:37:05 +0000 (17:37 +0100)
vapi/gtk+-3.0.vapi
vapi/libgeoclue-2.0.vapi

index 62362f9dff7a1c74ea2218788442e00a88c2621a..36513aedf3e8876fb50921b740eec347e65696a9 100644 (file)
@@ -10076,7 +10076,6 @@ namespace Gtk {
                public void move (int x, int y);
                [Version (deprecated = true, deprecated_since = "3.20")]
                public bool parse_geometry (string geometry);
-               [Version (deprecated = true, deprecated_since = "3.24")]
                public void present ();
                [Version (since = "2.8")]
                public void present_with_time (uint32 timestamp);
index fe0413e8eea72cf7234f8dc0010525b0d5a37602..59d94c338821b910fda6930c86e037e23f5736e7 100644 (file)
@@ -7,6 +7,8 @@ namespace GClue {
                [CCode (cname = "gclue_client_proxy_new", has_construct_function = false)]
                public async ClientProxy (GLib.DBusConnection connection, GLib.DBusProxyFlags flags, string? name, string object_path, GLib.Cancellable? cancellable) throws GLib.Error;
                public static async GClue.ClientProxy create (string desktop_id, GClue.AccuracyLevel accuracy_level, GLib.Cancellable? cancellable) throws GLib.Error;
+               public static async GClue.ClientProxy create_full (string desktop_id, GClue.AccuracyLevel accuracy_level, GClue.ClientProxyCreateFlags flags, GLib.Cancellable? cancellable) throws GLib.Error;
+               public static GClue.ClientProxy create_full_sync (string desktop_id, GClue.AccuracyLevel accuracy_level, GClue.ClientProxyCreateFlags flags, GLib.Cancellable? cancellable = null) throws GLib.Error;
                public static GClue.ClientProxy create_sync (string desktop_id, GClue.AccuracyLevel accuracy_level, GLib.Cancellable? cancellable = null) throws GLib.Error;
                [CCode (cname = "gclue_client_proxy_new_for_bus", has_construct_function = false)]
                public async ClientProxy.for_bus (GLib.BusType bus_type, GLib.DBusProxyFlags flags, string name, string object_path, GLib.Cancellable? cancellable) throws GLib.Error;
@@ -151,6 +153,12 @@ namespace GClue {
                STREET,
                EXACT
        }
+       [CCode (cheader_filename = "geoclue.h", cprefix = "GCLUE_CLIENT_PROXY_CREATE_", type_id = "gclue_client_proxy_create_flags_get_type ()")]
+       [Flags]
+       public enum ClientProxyCreateFlags {
+               NONE,
+               AUTO_DELETE
+       }
        [CCode (cheader_filename = "geoclue.h")]
        public static unowned GLib.DBusInterfaceInfo client_interface_info ();
        [CCode (cheader_filename = "geoclue.h")]