summaryrefslogtreecommitdiff
path: root/daemon
diff options
context:
space:
mode:
Diffstat (limited to 'daemon')
-rw-r--r--daemon/gdm-welcome-session.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/daemon/gdm-welcome-session.c b/daemon/gdm-welcome-session.c
index e21523ef..ca35f317 100644
--- a/daemon/gdm-welcome-session.c
+++ b/daemon/gdm-welcome-session.c
@@ -714,15 +714,15 @@ gdm_welcome_session_spawn (GdmWelcomeSession *welcome_session)
g_debug ("GdmWelcomeSession: Running welcome_session process: %s", welcome_session->priv->command);
+ if (welcome_session->priv->register_ck_session) {
+ open_welcome_session (welcome_session);
+ }
+
res = start_dbus_daemon (welcome_session);
if (! res) {
/* FIXME: */
}
- if (welcome_session->priv->register_ck_session) {
- open_welcome_session (welcome_session);
- }
-
env = get_welcome_environment (welcome_session);
error = NULL;