summaryrefslogtreecommitdiff
path: root/mate-dictionary/src/gdict-sidebar.c
diff options
context:
space:
mode:
authorStefano Karapetsas <[email protected]>2014-04-30 23:24:04 +0200
committerStefano Karapetsas <[email protected]>2014-04-30 23:24:04 +0200
commit36c964e0a6d1deaee624cd2a6a76ff5c73141865 (patch)
tree1479121d344123a17ec1e4238aa276ee59572d4e /mate-dictionary/src/gdict-sidebar.c
parent309200788af7a414b4c54234d7791a31ca4abcff (diff)
downloadmate-utils-36c964e0a6d1deaee624cd2a6a76ff5c73141865.tar.bz2
mate-utils-36c964e0a6d1deaee624cd2a6a76ff5c73141865.tar.xz
mate-dictionary: Add GTK3 support
Diffstat (limited to 'mate-dictionary/src/gdict-sidebar.c')
-rw-r--r--mate-dictionary/src/gdict-sidebar.c5
1 files changed, 4 insertions, 1 deletions
diff --git a/mate-dictionary/src/gdict-sidebar.c b/mate-dictionary/src/gdict-sidebar.c
index 9bb0007b..8da6775e 100644
--- a/mate-dictionary/src/gdict-sidebar.c
+++ b/mate-dictionary/src/gdict-sidebar.c
@@ -30,8 +30,11 @@
#include <string.h>
#include <stdarg.h>
-#include <gdk/gdkkeysyms.h>
#include <gtk/gtk.h>
+#include <gdk/gdkkeysyms.h>
+#if GTK_CHECK_VERSION (3, 0, 0)
+#include <gdk/gdkkeysyms-compat.h>
+#endif
#include <glib/gi18n.h>
#include "gdict-sidebar.h"