[gnome-settings-daemon] orientation: Use the G_SOURCE_REMOVE define



commit 90fd9fdb404bb0613932810c8ef12c7992a8816e
Author: Carlos Garnacho <carlosg gnome org>
Date:   Tue Dec 10 13:53:39 2013 +0100

    orientation: Use the G_SOURCE_REMOVE define
    
    Instead of just FALSE, this is a cosmetic change.

 plugins/orientation/gsd-orientation-manager.c |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/plugins/orientation/gsd-orientation-manager.c b/plugins/orientation/gsd-orientation-manager.c
index e325c95..adc693b 100644
--- a/plugins/orientation/gsd-orientation-manager.c
+++ b/plugins/orientation/gsd-orientation-manager.c
@@ -413,7 +413,7 @@ gsd_orientation_manager_idle_cb (GsdOrientationManager *manager)
         if (dev == NULL) {
                 g_debug ("Did not find an accelerometer");
                 gnome_settings_profile_end (NULL);
-                return FALSE;
+                return G_SOURCE_REMOVE;
         }
         manager->priv->sysfs_path = g_strdup (g_udev_device_get_sysfs_path (dev));
         g_debug ("Found accelerometer at sysfs path '%s'", manager->priv->sysfs_path);
@@ -432,7 +432,7 @@ gsd_orientation_manager_idle_cb (GsdOrientationManager *manager)
 
         gnome_settings_profile_end (NULL);
 
-        return FALSE;
+        return G_SOURCE_REMOVE;
 }
 
 gboolean


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