diff options
author | Carlos Garnacho <carlosg@gnome.org> | 2013-12-10 13:54:03 +0100 |
---|---|---|
committer | Carlos Garnacho <carlosg@gnome.org> | 2013-12-10 13:57:46 +0100 |
commit | 17b0a43b3f7d2fe31d25a95850489bb3a869bcb7 (patch) | |
tree | dd72c1587fc9fa76f35083b9c0c5e2f5fef5329e | |
parent | 90fd9fdb404bb0613932810c8ef12c7992a8816e (diff) | |
download | gnome-settings-daemon-17b0a43b3f7d2fe31d25a95850489bb3a869bcb7.tar.gz |
orientation: Unset source ID on idle callback
The idle was being removed, but the source ID was left != 0, so on
shutdown it'd cause warnings.
https://bugzilla.gnome.org/show_bug.cgi?id=719973
-rw-r--r-- | plugins/orientation/gsd-orientation-manager.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/plugins/orientation/gsd-orientation-manager.c b/plugins/orientation/gsd-orientation-manager.c index adc693be..1d767f26 100644 --- a/plugins/orientation/gsd-orientation-manager.c +++ b/plugins/orientation/gsd-orientation-manager.c @@ -403,6 +403,7 @@ gsd_orientation_manager_idle_cb (GsdOrientationManager *manager) gnome_settings_profile_start (NULL); + manager->priv->start_idle_id = 0; manager->priv->settings = g_settings_new (CONF_SCHEMA); manager->priv->orientation_lock = g_settings_get_boolean (manager->priv->settings, ORIENTATION_LOCK_KEY); g_signal_connect (G_OBJECT (manager->priv->settings), "changed::orientation-lock", |