summaryrefslogtreecommitdiff
path: root/mate-dictionary/libgdict/gdict-defbox.c
diff options
context:
space:
mode:
Diffstat (limited to 'mate-dictionary/libgdict/gdict-defbox.c')
-rw-r--r--mate-dictionary/libgdict/gdict-defbox.c11
1 files changed, 4 insertions, 7 deletions
diff --git a/mate-dictionary/libgdict/gdict-defbox.c b/mate-dictionary/libgdict/gdict-defbox.c
index fc7697a5..86d4427f 100644
--- a/mate-dictionary/libgdict/gdict-defbox.c
+++ b/mate-dictionary/libgdict/gdict-defbox.c
@@ -40,9 +40,6 @@
#include <gtk/gtk.h>
#include <gdk/gdkkeysyms.h>
-#if GTK_CHECK_VERSION (3, 0, 0)
-#include <gdk/gdkkeysyms-compat.h>
-#endif
#include <glib/gi18n-lib.h>
#include "gdict-defbox.h"
@@ -1891,19 +1888,19 @@ gdict_defbox_class_init (GdictDefboxClass *klass)
binding_set = gtk_binding_set_by_class (klass);
gtk_binding_entry_add_signal (binding_set,
- GDK_f, GDK_CONTROL_MASK,
+ GDK_KEY_f, GDK_CONTROL_MASK,
"show-find",
0);
gtk_binding_entry_add_signal (binding_set,
- GDK_g, GDK_CONTROL_MASK,
+ GDK_KEY_g, GDK_CONTROL_MASK,
"find-next",
0);
gtk_binding_entry_add_signal (binding_set,
- GDK_g, GDK_SHIFT_MASK | GDK_CONTROL_MASK,
+ GDK_KEY_g, GDK_SHIFT_MASK | GDK_CONTROL_MASK,
"find-previous",
0);
gtk_binding_entry_add_signal (binding_set,
- GDK_Escape, 0,
+ GDK_KEY_Escape, 0,
"hide-find",
0);