summaryrefslogtreecommitdiff
path: root/src/eggaccelerators.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/eggaccelerators.c')
-rw-r--r--src/eggaccelerators.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/eggaccelerators.c b/src/eggaccelerators.c
index 5410259..804615e 100644
--- a/src/eggaccelerators.c
+++ b/src/eggaccelerators.c
@@ -21,7 +21,11 @@
#include <string.h>
#include <gdk/gdkx.h>
+#if GTK_CHECK_VERSION(3,0,0)
+#include <gdk/gdkkeysyms-compat.h>
+#else
#include <gdk/gdkkeysyms.h>
+#endif
enum
{