[vala/staging] vapi: Update GIR-based bindings



commit 499fdf78a9c29c4b7eeea396ee3bca46b2b101c5
Author: Rico Tzschichholz <ricotz ubuntu com>
Date:   Sat Mar 16 17:36:20 2019 +0100

    vapi: Update GIR-based bindings

 vapi/gtk+-3.0.vapi       | 1 -
 vapi/libgeoclue-2.0.vapi | 8 ++++++++
 2 files changed, 8 insertions(+), 1 deletion(-)
---
diff --git a/vapi/gtk+-3.0.vapi b/vapi/gtk+-3.0.vapi
index 62362f9df..36513aedf 100644
--- a/vapi/gtk+-3.0.vapi
+++ b/vapi/gtk+-3.0.vapi
@@ -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);
diff --git a/vapi/libgeoclue-2.0.vapi b/vapi/libgeoclue-2.0.vapi
index fe0413e8e..59d94c338 100644
--- a/vapi/libgeoclue-2.0.vapi
+++ b/vapi/libgeoclue-2.0.vapi
@@ -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")]


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