[gdm/multi-stack-async-stop: 36/37] create_new_session not reset_session for autologin



commit ec1748847c4559d2a47e4a12e49e5befa4019406
Author: Ray Strode <rstrode redhat com>
Date:   Thu Apr 23 15:05:38 2009 -0400

    create_new_session not reset_session for autologin
    
    The latter forces a session close and we won't have a session to close.

 daemon/gdm-simple-slave.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/daemon/gdm-simple-slave.c b/daemon/gdm-simple-slave.c
index a70c9c9..2cac884 100644
--- a/daemon/gdm-simple-slave.c
+++ b/daemon/gdm-simple-slave.c
@@ -1153,7 +1153,7 @@ idle_connect_to_display (GdmSimpleSlave *slave)
                                                                 "gdm-autologin");
                         }
                 } else {
-                        reset_session (slave);
+                        create_new_session (slave);
 
                         g_debug ("GdmSimpleSlave: Starting automatic login conversation");
                         gdm_session_start_conversation (GDM_SESSION (slave->priv->session),



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]