From e425a183f7e36371379e9ada91e2632f0a840a52 Mon Sep 17 00:00:00 2001 From: Ray Strode Date: Thu, 18 Nov 2010 00:05:02 -0500 Subject: [PATCH] gdm: pull async fix from upstream This prevents a race at start up that could prevent the user from getting loaded properly. In the near future we need to drop the gdm user code entirely and switch to using the accountsservice library. --- src/gdmuser/gdm-user-manager.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/gdmuser/gdm-user-manager.c b/src/gdmuser/gdm-user-manager.c index b60e5a6d0..d3df15ac7 100644 --- a/src/gdmuser/gdm-user-manager.c +++ b/src/gdmuser/gdm-user-manager.c @@ -1199,6 +1199,8 @@ on_list_cached_users_finished (DBusGProxy *proxy, return; } + maybe_set_is_loaded (manager); + g_ptr_array_foreach (paths, (GFunc)add_new_user_for_object_path, manager); g_ptr_array_foreach (paths, (GFunc)g_free, NULL);