]> git.ipfire.org Git - thirdparty/vala.git/commitdiff
gio-2.0: Cherry-pick some DBusProxy fixes from 0.40
authorRico Tzschichholz <ricotz@ubuntu.com>
Wed, 14 Feb 2018 10:26:35 +0000 (11:26 +0100)
committerRico Tzschichholz <ricotz@ubuntu.com>
Wed, 14 Feb 2018 13:18:49 +0000 (14:18 +0100)
vapi/gio-2.0.vapi

index 99636959b8c0dfc8b4a629800daf5b6fe152f5dd..0ac9d3f14679e7a6b73e89ca7c578e4e1e46d776 100644 (file)
@@ -974,16 +974,16 @@ namespace GLib {
                public static async GLib.DBusProxy create_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.IOError;
                [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")]
                public static async GLib.DBusProxy @new (GLib.DBusConnection connection, GLib.DBusProxyFlags flags, GLib.DBusInterfaceInfo? info, string? name, string object_path, string interface_name, GLib.Cancellable? cancellable = null) throws GLib.IOError;