From: Rico Tzschichholz Date: Wed, 14 Feb 2018 10:26:35 +0000 (+0100) Subject: gio-2.0: Cherry-pick some DBusProxy fixes from 0.40 X-Git-Tag: 0.38.8~4 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=5b8ca5aea160a862433dcf1aece2b27779c95a80;p=thirdparty%2Fvala.git gio-2.0: Cherry-pick some DBusProxy fixes from 0.40 --- diff --git a/vapi/gio-2.0.vapi b/vapi/gio-2.0.vapi index a83f3f727..28df8576d 100644 --- a/vapi/gio-2.0.vapi +++ b/vapi/gio-2.0.vapi @@ -993,16 +993,16 @@ namespace GLib { public async DBusProxy.for_bus (GLib.BusType bus_type, GLib.DBusProxyFlags flags, GLib.DBusInterfaceInfo? info, string name, string object_path, string interface_name, GLib.Cancellable? cancellable = null) 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 = null) throws GLib.Error; - public GLib.Variant get_cached_property (string property_name); + public GLib.Variant? get_cached_property (string property_name); [CCode (array_length = false, array_null_terminated = true)] - public string[] get_cached_property_names (); + public string[]? get_cached_property_names (); public unowned GLib.DBusConnection get_connection (); public int get_default_timeout (); public GLib.DBusProxyFlags get_flags (); - public GLib.DBusInterfaceInfo get_interface_info (); + public unowned GLib.DBusInterfaceInfo? get_interface_info (); public unowned string get_interface_name (); public unowned string get_name (); - public string get_name_owner (); + public string? get_name_owner (); public unowned string get_object_path (); [CCode (cname = "g_dbus_proxy_new", finish_function = "g_dbus_proxy_new_finish")] [Version (deprecated_since = "vala-0.36", replacement = "DBusProxy")]