[gnome-settings-daemon/wip/input-sources: 1/6] keyboard: Remove needless call to XkbUseExtension
- From: Rui Matos <rtcm src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-settings-daemon/wip/input-sources: 1/6] keyboard: Remove needless call to XkbUseExtension
- Date: Tue, 15 May 2012 00:11:17 +0000 (UTC)
commit f510ede5d5f97267ae1f41863c738c6373b678b5
Author: Rui Matos <tiagomatos gmail com>
Date: Mon Apr 16 17:26:30 2012 +0200
keyboard: Remove needless call to XkbUseExtension
XkbQueryExtension does everything we need here.
plugins/keyboard/gsd-keyboard-manager.c | 3 +--
1 files changed, 1 insertions(+), 2 deletions(-)
---
diff --git a/plugins/keyboard/gsd-keyboard-manager.c b/plugins/keyboard/gsd-keyboard-manager.c
index 954f5b6..4e4b5d6 100644
--- a/plugins/keyboard/gsd-keyboard-manager.c
+++ b/plugins/keyboard/gsd-keyboard-manager.c
@@ -485,8 +485,7 @@ check_xkb_extension (GsdKeyboardManager *manager)
&manager->priv->xkb_event_base,
&error_base,
&major,
- &minor)
- && XkbUseExtension (dpy, &major, &minor);
+ &minor);
return have_xkb;
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]