[gdm/multi-stack: 14/31] Create session settings object when first starting worker
- From: Ray Strode <halfline src gnome org>
- To: svn-commits-list gnome org
- Subject: [gdm/multi-stack: 14/31] Create session settings object when first starting worker
- Date: Fri, 17 Apr 2009 10:26:44 -0400 (EDT)
commit 1411345bfefbba0c1213152fdf890b5691661bd5
Author: Ray Strode <rstrode redhat com>
Date: Fri Mar 6 11:19:40 2009 -0500
Create session settings object when first starting worker
This is because one PAM module may complete before setup
gets called on another, and when one completes *all* PAM
modules get told about language, session, and layouts
set by the user.
---
daemon/gdm-session-worker.c | 3 +--
1 files changed, 1 insertions(+), 2 deletions(-)
diff --git a/daemon/gdm-session-worker.c b/daemon/gdm-session-worker.c
index b470d88..33706d7 100644
--- a/daemon/gdm-session-worker.c
+++ b/daemon/gdm-session-worker.c
@@ -2060,8 +2060,6 @@ do_setup (GdmSessionWorker *worker)
GError *error;
gboolean res;
- worker->priv->user_settings = gdm_session_settings_new ();
-
g_signal_connect_swapped (worker->priv->user_settings,
"notify::language-name",
G_CALLBACK (on_saved_language_name_read),
@@ -2678,6 +2676,7 @@ gdm_session_worker_init (GdmSessionWorker *worker)
g_str_equal,
(GDestroyNotify) g_free,
(GDestroyNotify) g_free);
+ worker->priv->user_settings = gdm_session_settings_new ();
}
static void
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]