summaryrefslogtreecommitdiff
path: root/liblightdm-gobject/user.c
diff options
context:
space:
mode:
authorRobert Ancell <robert.ancell@canonical.com>2013-10-29 14:42:29 -0700
committerRobert Ancell <robert.ancell@canonical.com>2013-10-29 14:42:29 -0700
commit4a40fb40cfd6c013b6614a126462f4c7398b9db9 (patch)
tree478a64b21c68c90568142aece8bcaa43ed247737 /liblightdm-gobject/user.c
parent72cfcce31be131edf9b91e14fa40465b255fbba4 (diff)
downloadlightdm-4a40fb40cfd6c013b6614a126462f4c7398b9db9.tar.gz
Use user list bus, instead of relying on the proxy
Diffstat (limited to 'liblightdm-gobject/user.c')
-rw-r--r--liblightdm-gobject/user.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/liblightdm-gobject/user.c b/liblightdm-gobject/user.c
index 7fcfed08..e79abc74 100644
--- a/liblightdm-gobject/user.c
+++ b/liblightdm-gobject/user.c
@@ -428,7 +428,7 @@ update_user (LightDMUser *user)
gchar *name;
GError *error = NULL;
- result = g_dbus_connection_call_sync (g_dbus_proxy_get_connection (priv->proxy),
+ result = g_dbus_connection_call_sync (GET_LIST_PRIVATE (priv->user_list)->bus,
"org.freedesktop.Accounts",
priv->path,
"org.freedesktop.DBus.Properties",