diff options
author | Simon McVittie <simon.mcvittie@collabora.co.uk> | 2011-08-08 18:22:42 +0100 |
---|---|---|
committer | David Zeuthen <davidz@redhat.com> | 2011-08-15 12:50:00 -0400 |
commit | 03ae974f7cc992450907401f45e7de645caff141 (patch) | |
tree | 50e2f36843038749bcd5f685a147c01d5fd30de3 /gio | |
parent | 20387d262ff104f9de3defc264c5c2010d272857 (diff) |
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>
Diffstat (limited to 'gio')
-rw-r--r-- | gio/gdbusproxy.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/gio/gdbusproxy.c b/gio/gdbusproxy.c index f776662b4..a0edffcfe 100644 --- a/gio/gdbusproxy.c +++ b/gio/gdbusproxy.c @@ -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: |