summaryrefslogtreecommitdiff
path: root/maximus/tomboykeybinder.c
diff options
context:
space:
mode:
Diffstat (limited to 'maximus/tomboykeybinder.c')
-rw-r--r--maximus/tomboykeybinder.c4
1 files changed, 0 insertions, 4 deletions
diff --git a/maximus/tomboykeybinder.c b/maximus/tomboykeybinder.c
index e84a586..8607082 100644
--- a/maximus/tomboykeybinder.c
+++ b/maximus/tomboykeybinder.c
@@ -309,11 +309,7 @@ tomboy_keybinder_is_modifier (guint keycode)
XModifierKeymap *mod_keymap;
gboolean retval = FALSE;
-#if GTK_CHECK_VERSION (3, 0, 0)
mod_keymap = XGetModifierMapping (GDK_DISPLAY_XDISPLAY (gdk_display_get_default ()));
-#else
- mod_keymap = XGetModifierMapping (gdk_display);
-#endif
map_size = 8 * mod_keymap->max_keypermod;