diff options
author | Ray Strode <rstrode@redhat.com> | 2011-03-09 15:44:43 -0500 |
---|---|---|
committer | Ray Strode <rstrode@redhat.com> | 2011-03-09 15:44:43 -0500 |
commit | e9a2c35c133284529a1b0ac6a6391143f79e3f95 (patch) | |
tree | a581115e9a32a15b4a0b86eeb5dacf41e8252fef /daemon/gdm-session-settings.c | |
parent | 90ab791544d676629800e80fcf7a28a628f94e94 (diff) | |
download | gdm-e9a2c35c133284529a1b0ac6a6391143f79e3f95.tar.gz |
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)
Diffstat (limited to 'daemon/gdm-session-settings.c')
-rw-r--r-- | 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 9473fa4b..6c183338 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); } } |