summaryrefslogtreecommitdiff
path: root/capplets/keybindings/eggaccelerators.c
diff options
context:
space:
mode:
authorStefano Karapetsas <[email protected]>2014-01-24 16:17:17 +0100
committerStefano Karapetsas <[email protected]>2014-01-24 16:17:17 +0100
commit1893a77af55cd2e87e4e249193a9203b1a7a0c69 (patch)
tree33996864ed575f1d4615b3872cb39575bd62c18e /capplets/keybindings/eggaccelerators.c
parent6e619aedc2e6a105d5849519ae50e9d2b1145c88 (diff)
downloadmate-control-center-1893a77af55cd2e87e4e249193a9203b1a7a0c69.tar.bz2
mate-control-center-1893a77af55cd2e87e4e249193a9203b1a7a0c69.tar.xz
keybindings: Add GTK3 support
Diffstat (limited to 'capplets/keybindings/eggaccelerators.c')
-rw-r--r--capplets/keybindings/eggaccelerators.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/capplets/keybindings/eggaccelerators.c b/capplets/keybindings/eggaccelerators.c
index 9806e109..c81c567e 100644
--- a/capplets/keybindings/eggaccelerators.c
+++ b/capplets/keybindings/eggaccelerators.c
@@ -26,6 +26,10 @@
#include <gdk/gdkkeysyms.h>
#include <gtk/gtk.h>
+#if GTK_CHECK_VERSION (3, 0, 0)
+#include <gdk/gdkkeysyms-compat.h>
+#endif
+
enum {
EGG_MODMAP_ENTRY_SHIFT = 0,
EGG_MODMAP_ENTRY_LOCK = 1,