summaryrefslogtreecommitdiff
path: root/src/eggaccelerators.c
diff options
context:
space:
mode:
authorElias Aebi <[email protected]>2013-12-14 15:37:52 +0100
committerElias Aebi <[email protected]>2013-12-14 15:37:52 +0100
commit9ea434156930d3a1e9c74f239f34a76a19d2bde8 (patch)
treef2dff60eaf9bdfee6da6a3e92f8fb6ffda01924a /src/eggaccelerators.c
parente9d9a37e1ef80709d1ccac1807d46acfbc4f26ac (diff)
downloadmate-indicator-applet-9ea434156930d3a1e9c74f239f34a76a19d2bde8.tar.bz2
mate-indicator-applet-9ea434156930d3a1e9c74f239f34a76a19d2bde8.tar.xz
replace deprecated header includes and deprecated symbols
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
{