Commit 14078861 authored by Christian Kellner's avatar Christian Kellner

cli: specify property setter for all object

Use the new bolt_proxy_property_setter as GObjectClass.set-property
for all client objects.
parent 21163f9a
......@@ -99,6 +99,7 @@ bolt_client_class_init (BoltClientClass *klass)
BoltProxyClass *proxy_class = BOLT_PROXY_CLASS (klass);
gobject_class->get_property = bolt_proxy_property_getter;
gobject_class->set_property = bolt_proxy_property_setter;
proxy_class->get_dbus_signals = bolt_client_get_dbus_signals;
......
......@@ -71,6 +71,7 @@ bolt_device_class_init (BoltDeviceClass *klass)
GObjectClass *gobject_class = G_OBJECT_CLASS (klass);
gobject_class->get_property = bolt_proxy_property_getter;
gobject_class->set_property = bolt_proxy_property_setter;
props[PROP_UID] =
g_param_spec_string ("uid", "Uid",
......
......@@ -56,6 +56,7 @@ bolt_domain_class_init (BoltDomainClass *klass)
GObjectClass *gobject_class = G_OBJECT_CLASS (klass);
gobject_class->get_property = bolt_proxy_property_getter;
gobject_class->set_property = bolt_proxy_property_setter;
props[PROP_UID] =
g_param_spec_string ("uid", "Uid",
......
......@@ -55,6 +55,7 @@ bolt_power_class_init (BoltPowerClass *klass)
GObjectClass *gobject_class = G_OBJECT_CLASS (klass);
gobject_class->get_property = bolt_proxy_property_getter;
gobject_class->set_property = bolt_proxy_property_setter;
props[PROP_SUPPORTED] =
g_param_spec_boolean ("supported", "Supported",
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment