[gdm/multi-stack: 5/35] Create session settings object up front
- From: Ray Strode <halfline src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gdm/multi-stack: 5/35] Create session settings object up front
- Date: Thu, 17 Feb 2011 17:31:03 +0000 (UTC)
commit 284784301a26480e350678716efaa7a6f956ed2c
Author: Ray Strode <rstrode redhat com>
Date: Fri Mar 6 11:19:40 2009 -0500
Create session settings object up front
This allows us to set language, session, etc,
before the PAM conversation is started.
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 3dd714f..9adb0de 100644
--- a/daemon/gdm-session-worker.c
+++ b/daemon/gdm-session-worker.c
@@ -2256,8 +2256,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),
@@ -2876,6 +2874,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]