[gnome-settings-daemon] orientation: Fix wrong schema name
- From: Bastien Nocera <hadess src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-settings-daemon] orientation: Fix wrong schema name
- Date: Fri, 3 Jun 2011 14:50:36 +0000 (UTC)
commit 9de8d5374619f68598cd85d2dd289d2b9a0d6c50
Author: Bastien Nocera <hadess hadess net>
Date: Fri Jun 3 15:36:00 2011 +0100
orientation: Fix wrong schema name
plugins/orientation/gsd-orientation-manager.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/plugins/orientation/gsd-orientation-manager.c b/plugins/orientation/gsd-orientation-manager.c
index d9716e5..2debf7b 100644
--- a/plugins/orientation/gsd-orientation-manager.c
+++ b/plugins/orientation/gsd-orientation-manager.c
@@ -339,7 +339,7 @@ gsd_orientation_manager_idle_cb (GsdOrientationManager *manager)
gnome_settings_profile_start (NULL);
- manager->priv->settings = g_settings_new (ORIENTATION_LOCK_KEY);
+ 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",
G_CALLBACK (orientation_lock_changed_cb), manager);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]