]> rtime.felk.cvut.cz Git - sojka/lightdm.git/commitdiff
Use user list bus, instead of relying on the proxy
authorRobert Ancell <robert.ancell@canonical.com>
Tue, 29 Oct 2013 21:42:29 +0000 (14:42 -0700)
committerRobert Ancell <robert.ancell@canonical.com>
Tue, 29 Oct 2013 21:42:29 +0000 (14:42 -0700)
liblightdm-gobject/user.c

index 7fcfed080d625009915168f18d21770d89d32b5a..e79abc743894bc31c3bc3c8eff4d12bebd9e5518 100644 (file)
@@ -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",