summaryrefslogtreecommitdiff
path: root/plugins
diff options
context:
space:
mode:
authorinfirit <[email protected]>2014-12-13 14:46:51 +0100
committerinfirit <[email protected]>2014-12-13 18:32:16 +0100
commitfc2923e36d4ac7a3ec2cf848e168d82cf77c0b16 (patch)
tree387d6ada8c93d3bc297a8366284b00e354b0fc22 /plugins
parent11444836c67e6a34e58cf03847e45a5d0a209032 (diff)
downloadmate-settings-daemon-fc2923e36d4ac7a3ec2cf848e168d82cf77c0b16.tar.bz2
mate-settings-daemon-fc2923e36d4ac7a3ec2cf848e168d82cf77c0b16.tar.xz
unneeded debug removed
It was necessary long ago, when stdout was hard to get from m-s-d Taken from GSD commit: 950112d2d077450aa9c4ca60fb03a61bfacf43c7 From: Sergey V. Udaltsov <[email protected]>
Diffstat (limited to 'plugins')
-rw-r--r--plugins/keyboard/msd-keyboard-xkb.c20
1 files changed, 0 insertions, 20 deletions
diff --git a/plugins/keyboard/msd-keyboard-xkb.c b/plugins/keyboard/msd-keyboard-xkb.c
index 5ce70bb..2e6e0ec 100644
--- a/plugins/keyboard/msd-keyboard-xkb.c
+++ b/plugins/keyboard/msd-keyboard-xkb.c
@@ -90,21 +90,6 @@ static const gchar* indicator_off_icon_names[] = {
"kbd-capslock-off"
};
-//#define noMSDKX
-
-#ifdef MSDKX
-static FILE *logfile;
-
-static void msd_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
g_strv_behead (gchar **arr)
{
@@ -598,11 +583,6 @@ msd_keyboard_xkb_init (MsdKeyboardManager * kbd_manager)
msd_keyboard_update_indicator_icons ();
-#ifdef MSDKX
- xkl_set_debug_level (200);
- logfile = fopen ("/tmp/msdkx.log", "a");
- xkl_set_log_appender (msd_keyboard_log_appender);
-#endif
manager = kbd_manager;
mate_settings_profile_start ("xkl_engine_get_instance");
xkl_engine = xkl_engine_get_instance (display);