[gnome-settings-daemon] orientation: Call stop from finalize



commit 047ae1fb7c040fe8f3a5e749343a6e0e48ad222e
Author: Rui Matos <tiagomatos gmail com>
Date:   Fri Oct 17 17:09:00 2014 +0200

    orientation: Call stop from finalize

 plugins/orientation/gsd-orientation-manager.c |    2 ++
 1 files changed, 2 insertions(+), 0 deletions(-)
---
diff --git a/plugins/orientation/gsd-orientation-manager.c b/plugins/orientation/gsd-orientation-manager.c
index fbb89bd..e1ad447 100644
--- a/plugins/orientation/gsd-orientation-manager.c
+++ b/plugins/orientation/gsd-orientation-manager.c
@@ -507,6 +507,8 @@ gsd_orientation_manager_finalize (GObject *object)
 
         g_return_if_fail (orientation_manager->priv != NULL);
 
+        gsd_orientation_manager_stop (orientation_manager);
+
         if (orientation_manager->priv->start_idle_id != 0)
                 g_source_remove (orientation_manager->priv->start_idle_id);
 


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