[gnome-settings-daemon] a11y-keyboard: Ensure stopped on finalize



commit 1b590709af68a6a336a018049315ce3c5f5595cd
Author: Bastien Nocera <hadess hadess net>
Date:   Wed Jan 16 12:22:26 2013 +0100

    a11y-keyboard: Ensure stopped on finalize

 plugins/a11y-keyboard/gsd-a11y-keyboard-manager.c |    3 +--
 1 files changed, 1 insertions(+), 2 deletions(-)
---
diff --git a/plugins/a11y-keyboard/gsd-a11y-keyboard-manager.c b/plugins/a11y-keyboard/gsd-a11y-keyboard-manager.c
index 807a603..7acd274 100644
--- a/plugins/a11y-keyboard/gsd-a11y-keyboard-manager.c
+++ b/plugins/a11y-keyboard/gsd-a11y-keyboard-manager.c
@@ -790,8 +790,7 @@ gsd_a11y_keyboard_manager_finalize (GObject *object)
 
         g_return_if_fail (a11y_keyboard_manager->priv != NULL);
 
-        if (a11y_keyboard_manager->priv->start_idle_id != 0)
-                g_source_remove (a11y_keyboard_manager->priv->start_idle_id);
+        gsd_a11y_keyboard_manager_stop (a11y_keyboard_manager);
 
         G_OBJECT_CLASS (gsd_a11y_keyboard_manager_parent_class)->finalize (object);
 }



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]