summaryrefslogtreecommitdiff
path: root/capplets/keybindings
diff options
context:
space:
mode:
Diffstat (limited to 'capplets/keybindings')
-rw-r--r--capplets/keybindings/eggcellrendererkeys.c4
1 files changed, 0 insertions, 4 deletions
diff --git a/capplets/keybindings/eggcellrendererkeys.c b/capplets/keybindings/eggcellrendererkeys.c
index 9dffeda7..22ea7a79 100644
--- a/capplets/keybindings/eggcellrendererkeys.c
+++ b/capplets/keybindings/eggcellrendererkeys.c
@@ -320,11 +320,7 @@ static gboolean is_modifier(guint keycode)
XModifierKeymap* mod_keymap;
gboolean retval = FALSE;
-#if GTK_CHECK_VERSION (3, 0, 0)
mod_keymap = XGetModifierMapping(gdk_x11_display_get_xdisplay(gdk_display_get_default()));
-#else
- mod_keymap = XGetModifierMapping(gdk_display);
-#endif
map_size = 8 * mod_keymap->max_keypermod;
i = 0;