[gnome-settings-daemon] keyboard: Remove dead variable and code



commit 2ccec6703b1fd8af183a1ee1bff4c81e8fb3b084
Author: Bastien Nocera <hadess hadess net>
Date:   Thu Oct 20 16:54:10 2011 +0100

    keyboard: Remove dead variable and code

 plugins/keyboard/gsd-keyboard-xkb.c |    4 ----
 1 files changed, 0 insertions(+), 4 deletions(-)
---
diff --git a/plugins/keyboard/gsd-keyboard-xkb.c b/plugins/keyboard/gsd-keyboard-xkb.c
index 7ee8555..fbfaba3 100644
--- a/plugins/keyboard/gsd-keyboard-xkb.c
+++ b/plugins/keyboard/gsd-keyboard-xkb.c
@@ -387,7 +387,6 @@ static void
 apply_xkb_settings (void)
 {
 	GkbdKeyboardConfig current_sys_kbd_config;
-	int group_to_activate = -1;
 
 	if (!inited_ok)
 		return;
@@ -417,9 +416,6 @@ apply_xkb_settings (void)
 		xkl_debug (100,
 			   "Actual KBD configuration was not changed: redundant notification\n");
 
-	if (group_to_activate != -1)
-		xkl_engine_lock_group (current_config.engine,
-				       group_to_activate);
 	gkbd_keyboard_config_term (&current_sys_kbd_config);
 	show_hide_icon ();
 }



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