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.
This commit is contained in:
Ray Strode 2010-11-18 00:05:02 -05:00
parent 0bbeb733a2
commit e425a183f7

View File

@ -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);