From: Rico Tzschichholz Date: Sat, 16 Mar 2019 16:36:20 +0000 (+0100) Subject: vapi: Update GIR-based bindings X-Git-Tag: 0.44.1~1 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=499fdf78a9c29c4b7eeea396ee3bca46b2b101c5;p=thirdparty%2Fvala.git vapi: Update GIR-based bindings --- 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")]