[gdm/multi-stack] Only start session if in SESSION_OPEN state no accredited state
- From: Ray Strode <halfline src gnome org>
- To: svn-commits-list gnome org
- Subject: [gdm/multi-stack] Only start session if in SESSION_OPEN state no accredited state
- Date: Mon, 20 Jul 2009 16:57:12 +0000 (UTC)
commit 790263cf9b8cab0bf3dc39c29e814d8c9034d802
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 1b1f14b..4ebde84 100644
--- a/daemon/gdm-session-worker.c
+++ b/daemon/gdm-session-worker.c
@@ -2317,7 +2317,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]