diff options
author | Rico Tzschichholz <ricotz@ubuntu.com> | 2019-03-16 17:36:20 +0100 |
---|---|---|
committer | Rico Tzschichholz <ricotz@ubuntu.com> | 2019-03-16 17:37:05 +0100 |
commit | 499fdf78a9c29c4b7eeea396ee3bca46b2b101c5 (patch) | |
tree | a4cf8cc0f0cd65314e8434405a0ae5b7029e0fa5 | |
parent | a6c1648b12dcf0023e40301215d3254fe8c31688 (diff) | |
download | vala-499fdf78a9c29c4b7eeea396ee3bca46b2b101c5.tar.gz |
vapi: Update GIR-based bindings
-rw-r--r-- | vapi/gtk+-3.0.vapi | 1 | ||||
-rw-r--r-- | vapi/libgeoclue-2.0.vapi | 8 |
2 files changed, 8 insertions, 1 deletions
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")] |