[gdm/multi-stack: 37/38] Only start session if in SESSION_OPEN state no accredited state
- From: Ray Strode <halfline src gnome org>
- To: svn-commits-list gnome org
- Cc:
- Subject: [gdm/multi-stack: 37/38] Only start session if in SESSION_OPEN state no accredited state
- Date: Wed, 21 Oct 2009 17:09:30 +0000 (UTC)
commit 6ba92264ac3a6bc6ae2e3cff6a339b9b58cd4dfb
Author: Ray Strode <rstrode redhat com>
Date: Mon Jul 20 12:56:08 2009 -0400
Only start session if in SESSION_OPEN state no accredited state
The state machine check wasn't quite right in light of the new
SESSION_OPEN state
daemon/gdm-session-worker.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/daemon/gdm-session-worker.c b/daemon/gdm-session-worker.c
index db4d77d..9a9f364 100644
--- a/daemon/gdm-session-worker.c
+++ b/daemon/gdm-session-worker.c
@@ -2562,7 +2562,7 @@ on_start_program (GdmSessionWorker *worker,
const char *text;
dbus_bool_t res;
- if (worker->priv->state != GDM_SESSION_WORKER_STATE_ACCREDITED) {
+ if (worker->priv->state != GDM_SESSION_WORKER_STATE_SESSION_OPENED) {
g_debug ("GdmSessionWorker: ignoring spurious start program while in state %s", get_state_name (worker->priv->state));
return;
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]