summaryrefslogtreecommitdiff
path: root/plugins/orientation/gsd-orientation-manager.c
diff options
context:
space:
mode:
Diffstat (limited to 'plugins/orientation/gsd-orientation-manager.c')
-rw-r--r--plugins/orientation/gsd-orientation-manager.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/plugins/orientation/gsd-orientation-manager.c b/plugins/orientation/gsd-orientation-manager.c
index e325c950..adc693be 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