summaryrefslogtreecommitdiff
path: root/capplets/windows/mate-window-properties.c
diff options
context:
space:
mode:
Diffstat (limited to 'capplets/windows/mate-window-properties.c')
-rw-r--r--capplets/windows/mate-window-properties.c12
1 files changed, 0 insertions, 12 deletions
diff --git a/capplets/windows/mate-window-properties.c b/capplets/windows/mate-window-properties.c
index e32e14d7..219b724f 100644
--- a/capplets/windows/mate-window-properties.c
+++ b/capplets/windows/mate-window-properties.c
@@ -592,28 +592,16 @@ reload_mouse_modifiers (void)
int min_keycode, max_keycode;
int mod_meta, mod_super, mod_hyper;
-#if GTK_CHECK_VERSION (3, 0, 0)
XDisplayKeycodes (gdk_x11_display_get_xdisplay(gdk_display_get_default()),
-#else
- XDisplayKeycodes (gdk_display,
-#endif
&min_keycode,
&max_keycode);
-#if GTK_CHECK_VERSION (3, 0, 0)
keymap = XGetKeyboardMapping (gdk_x11_display_get_xdisplay(gdk_display_get_default()),
-#else
- keymap = XGetKeyboardMapping (gdk_display,
-#endif
min_keycode,
max_keycode - min_keycode,
&keysyms_per_keycode);
-#if GTK_CHECK_VERSION (3, 0, 0)
modmap = XGetModifierMapping (gdk_x11_display_get_xdisplay(gdk_display_get_default()));
-#else
- modmap = XGetModifierMapping (gdk_display);
-#endif
have_super = FALSE;
have_meta = FALSE;