[gnome-settings-daemon] unneeded debug removed
- From: Sergey V. Udaltsov <svu src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-settings-daemon] unneeded debug removed
- Date: Tue, 19 Oct 2010 19:31:42 +0000 (UTC)
commit 950112d2d077450aa9c4ca60fb03a61bfacf43c7
Author: Sergey V. Udaltsov <svu gnome org>
Date: Tue Oct 19 20:31:00 2010 +0100
unneeded debug removed
It was necessary long ago, when stdout was hard to get from g-s-d
plugins/keyboard/gsd-keyboard-xkb.c | 23 -----------------------
1 files changed, 0 insertions(+), 23 deletions(-)
---
diff --git a/plugins/keyboard/gsd-keyboard-xkb.c b/plugins/keyboard/gsd-keyboard-xkb.c
index 7faaa26..cb5ebe4 100644
--- a/plugins/keyboard/gsd-keyboard-xkb.c
+++ b/plugins/keyboard/gsd-keyboard-xkb.c
@@ -88,24 +88,6 @@ static const gchar *indicator_off_icon_names[] = {
"kbd-capslock-off"
};
-#define noGSDKX
-
-#ifdef GSDKX
-static FILE *logfile;
-
-static void
-gsd_keyboard_log_appender (const char file[],
- const char function[],
- int level, const char format[], va_list args)
-{
- time_t now = time (NULL);
- fprintf (logfile, "[%08ld,%03d,%s:%s/] \t", now,
- level, file, function);
- vfprintf (logfile, format, args);
- fflush (logfile);
-}
-#endif
-
static void
activation_error (void)
{
@@ -682,11 +664,6 @@ gsd_keyboard_xkb_init (GsdKeyboardManager * kbd_manager)
gsd_keyboard_update_indicator_icons ();
-#ifdef GSDKX
- xkl_set_debug_level (200);
- logfile = fopen ("/tmp/gsdkx.log", "a");
- xkl_set_log_appender (gsd_keyboard_log_appender);
-#endif
manager = kbd_manager;
gnome_settings_profile_start ("xkl_engine_get_instance");
xkl_engine = xkl_engine_get_instance (display);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]