[mousetweaks] Don't use gschema keys directly



commit 4bbe81e4724a98bc5a8df896c819b3ca30c177d9
Author: Gerd Kohlberger <gerdk src gnome org>
Date:   Fri Oct 15 13:57:10 2010 +0200

    Don't use gschema keys directly

 src/mt-ctw.c |    8 ++++----
 1 files changed, 4 insertions(+), 4 deletions(-)
---
diff --git a/src/mt-ctw.c b/src/mt-ctw.c
index f5782e8..449f526 100644
--- a/src/mt-ctw.c
+++ b/src/mt-ctw.c
@@ -193,13 +193,13 @@ mt_ctw_init (gint x, gint y)
 
     /* settings */
     ms = mt_settings_get_default ();
-    g_signal_connect (ms, "notify::ctw-visible",
+    g_signal_connect (ms, "notify::" KEY_CTW_VISIBLE,
                       G_CALLBACK (ctw_visibility_changed), NULL);
-    g_signal_connect (ms, "notify::dwell-enabled",
+    g_signal_connect (ms, "notify::" KEY_DWELL_ENABLED,
                       G_CALLBACK (ctw_visibility_changed), NULL);
-    g_signal_connect (ms, "notify::dwell-mode",
+    g_signal_connect (ms, "notify::" KEY_DWELL_MODE,
                       G_CALLBACK (ctw_sensitivity_changed), NULL);
-    g_signal_connect (ms, "notify::ctw-mode",
+    g_signal_connect (ms, "notify::" KEY_CTW_STYLE,
                       G_CALLBACK (ctw_style_changed), NULL);
 
     ctw_visibility_changed (ms, NULL);



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