[gnome-settings-daemon] keyboard: Remove unnecessary checks
- From: Bastien Nocera <hadess src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-settings-daemon] keyboard: Remove unnecessary checks
- Date: Thu, 26 Apr 2012 18:39:53 +0000 (UTC)
commit a6cd7290e4490fe0c82ea1d204ba64df2c317169
Author: Bastien Nocera <hadess hadess net>
Date: Thu Apr 26 19:11:51 2012 +0100
keyboard: Remove unnecessary checks
plugins/keyboard/gsd-keyboard-manager.c | 3 ---
1 files changed, 0 insertions(+), 3 deletions(-)
---
diff --git a/plugins/keyboard/gsd-keyboard-manager.c b/plugins/keyboard/gsd-keyboard-manager.c
index 84fba6b..4273434 100644
--- a/plugins/keyboard/gsd-keyboard-manager.c
+++ b/plugins/keyboard/gsd-keyboard-manager.c
@@ -528,9 +528,6 @@ numlock_xkb_init (GsdKeyboardManager *manager)
{
Display *dpy;
- if (manager->priv->have_xkb == FALSE)
- return;
-
dpy = GDK_DISPLAY_XDISPLAY (gdk_display_get_default ());
XkbSelectEventDetails (dpy,
XkbUseCoreKbd,
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]