[gnome-settings-daemon] a11y-keyboard: Remove use of DEBUG_ACCESSIBILITY macro
- From: Bastien Nocera <hadess src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-settings-daemon] a11y-keyboard: Remove use of DEBUG_ACCESSIBILITY macro
- Date: Sat, 24 Sep 2011 00:51:56 +0000 (UTC)
commit a759ebca09bd4d245bd8c0bffb03a15b5654799f
Author: Bastien Nocera <hadess hadess net>
Date: Sat Sep 24 00:55:30 2011 +0100
a11y-keyboard: Remove use of DEBUG_ACCESSIBILITY macro
It's not defined anywhere anyway.
plugins/a11y-keyboard/gsd-a11y-keyboard-manager.c | 15 ++++++---------
1 files changed, 6 insertions(+), 9 deletions(-)
---
diff --git a/plugins/a11y-keyboard/gsd-a11y-keyboard-manager.c b/plugins/a11y-keyboard/gsd-a11y-keyboard-manager.c
index de1208a..3d6fe68 100644
--- a/plugins/a11y-keyboard/gsd-a11y-keyboard-manager.c
+++ b/plugins/a11y-keyboard/gsd-a11y-keyboard-manager.c
@@ -162,11 +162,10 @@ set_int (GSettings *settings,
prev_val = g_settings_get_int (settings, key);
g_settings_set_int (settings, key, val);
-#ifdef DEBUG_ACCESSIBILITY
if (val != prev_val) {
- g_warning ("%s changed", key);
+ g_debug ("%s changed", key);
}
-#endif
+
return val != prev_val;
}
@@ -180,12 +179,10 @@ set_bool (GSettings *settings,
prev_val = g_settings_get_boolean (settings, key);
g_settings_set_boolean (settings, key, bval ? TRUE : FALSE);
-#ifdef DEBUG_ACCESSIBILITY
- if (bval != prev_val) {
- d ("%s changed", key);
- return TRUE;
- }
-#endif
+ if (bval != prev_val) {
+ g_debug ("%s changed", key);
+ return TRUE;
+ }
return (bval != prev_val);
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]