[gnome-settings-daemon] keyboard: Remove needless call to XkbUseExtension



commit eeff2b0deaac13023fc77e5cb7675d0b00532fca
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.
    
    https://bugzilla.gnome.org/show_bug.cgi?id=674948

 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]