summaryrefslogtreecommitdiff
path: root/logview/logview-findbar.c
diff options
context:
space:
mode:
Diffstat (limited to 'logview/logview-findbar.c')
-rw-r--r--logview/logview-findbar.c5
1 files changed, 1 insertions, 4 deletions
diff --git a/logview/logview-findbar.c b/logview/logview-findbar.c
index 947df4cb..9fbf9cb4 100644
--- a/logview/logview-findbar.c
+++ b/logview/logview-findbar.c
@@ -22,9 +22,6 @@
#include <gtk/gtk.h>
#include <glib/gi18n.h>
#include <gdk/gdkkeysyms.h>
-#if GTK_CHECK_VERSION (3, 0, 0)
-#include <gdk/gdkkeysyms-compat.h>
-#endif
#include "logview-findbar.h"
@@ -123,7 +120,7 @@ entry_key_press_event_cb (GtkWidget *entry,
{
LogviewFindbar *findbar = user_data;
- if (event->keyval == GDK_Escape) {
+ if (event->keyval == GDK_KEY_Escape) {
g_signal_emit (findbar, signals[CLOSE], 0);
return TRUE;
}