[gdm] daemon: make is-loaded handler one shot
- From: Ray Strode <halfline src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gdm] daemon: make is-loaded handler one shot
- Date: Wed, 9 Mar 2011 20:53:19 +0000 (UTC)
commit e9a2c35c133284529a1b0ac6a6391143f79e3f95
Author: Ray Strode <rstrode redhat com>
Date: Wed Mar 9 15:44:43 2011 -0500
daemon: make is-loaded handler one shot
We don't want the is-loaded handler to run
after we've got the initial is-loaded change.
(Shouldn't matter in practice, but still a correct change)
daemon/gdm-session-settings.c | 3 +++
1 files changed, 3 insertions(+), 0 deletions(-)
---
diff --git a/daemon/gdm-session-settings.c b/daemon/gdm-session-settings.c
index 9473fa4..6c18333 100644
--- a/daemon/gdm-session-settings.c
+++ b/daemon/gdm-session-settings.c
@@ -285,6 +285,9 @@ on_user_is_loaded_changed (ActUser *user,
{
if (act_user_is_loaded (settings->priv->user)) {
load_settings_from_user (settings);
+ g_signal_handlers_disconnect_by_func (G_OBJECT (settings->priv->user),
+ G_CALLBACK (on_user_is_loaded_changed),
+ settings);
}
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]