mirror of
https://gitlab.gnome.org/GNOME/glib.git
synced 2025-02-03 17:56:17 +01:00
g_dbus_proxy_get_property: use accessors for all mutable state
These ought to have thread-locking, and having it in the accessor seems better than duplicating it here. Signed-off-by: David Zeuthen <davidz@redhat.com>
This commit is contained in:
parent
20387d262f
commit
03ae974f7c
@ -265,7 +265,7 @@ g_dbus_proxy_get_property (GObject *object,
|
||||
break;
|
||||
|
||||
case PROP_G_NAME_OWNER:
|
||||
g_value_set_string (value, proxy->priv->name_owner);
|
||||
g_value_take_string (value, g_dbus_proxy_get_name_owner (proxy));
|
||||
break;
|
||||
|
||||
case PROP_G_OBJECT_PATH:
|
||||
@ -277,7 +277,7 @@ g_dbus_proxy_get_property (GObject *object,
|
||||
break;
|
||||
|
||||
case PROP_G_DEFAULT_TIMEOUT:
|
||||
g_value_set_int (value, proxy->priv->timeout_msec);
|
||||
g_value_set_int (value, g_dbus_proxy_get_default_timeout (proxy));
|
||||
break;
|
||||
|
||||
case PROP_G_INTERFACE_INFO:
|
||||
|
Loading…
Reference in New Issue
Block a user