summaryrefslogtreecommitdiff
path: root/src/gui_gtk_x11.c
diff options
context:
space:
mode:
authorBram Moolenaar <Bram@vim.org>2010-08-13 13:57:13 +0200
committerBram Moolenaar <Bram@vim.org>2010-08-13 13:57:13 +0200
commit580061a821eb2e08439233cbeabada67c480493b (patch)
tree2adaa6b2c3925acb12b35b60579f598e5a1e1644 /src/gui_gtk_x11.c
parent31710268ed8557ebcec4130b24550c7790725f73 (diff)
downloadvim-git-580061a821eb2e08439233cbeabada67c480493b.tar.gz
Fix #ifdef for GDK_SUPER_MASK.
Diffstat (limited to 'src/gui_gtk_x11.c')
-rw-r--r--src/gui_gtk_x11.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gui_gtk_x11.c b/src/gui_gtk_x11.c
index 76ca4fef7..e58ed73d8 100644
--- a/src/gui_gtk_x11.c
+++ b/src/gui_gtk_x11.c
@@ -889,7 +889,7 @@ modifiers_gdk2vim(guint state)
modifiers |= MOD_MASK_CTRL;
if (state & GDK_MOD1_MASK)
modifiers |= MOD_MASK_ALT;
-#ifdef GDK_SUPER_MASK
+#if GTK_CHECK_VERSION(2,10,0)
if (state & GDK_SUPER_MASK)
modifiers |= MOD_MASK_META;
#endif