gdbus: consider property wrappers for GDBusProxy
@walters
Submitted by Colin Walters Assigned to David Zeuthen
Link to original bug (#655013)
Description
GDBusProxy currently has some special support for the standard org.freedesktop.DBus.Properties interface, in the form of g_dbus_proxy_get_cached_property() and g_dbus_proxy_set_cached_property().
For setting properties, we expect either:
-
The user to "manually" run g_dbus_proxy_call ("Set", g_variant_new ("ss", "com.example.Iface", "SomeProp"), 0, -1, NULL, NULL, NULL);
-
Use gdbus-codegen which makes GObject property wrappers
For case 1), I think it actually merits some API.