diff options
author | infirit <[email protected]> | 2014-07-01 15:26:00 +0200 |
---|---|---|
committer | infirit <[email protected]> | 2014-07-01 15:29:10 +0200 |
commit | 175a8fab48e5658ac79ad66f1e82adf112315617 (patch) | |
tree | 916db99c0e78acca84069f53d8c70d13cbd0607d /logview/logview-findbar.c | |
parent | b6d26ef3c1d9881eaf6a2878ec7eac2d80710503 (diff) | |
download | mate-utils-175a8fab48e5658ac79ad66f1e82adf112315617.tar.bz2 mate-utils-175a8fab48e5658ac79ad66f1e82adf112315617.tar.xz |
GDK_KEY_* was introduced in Gtk+ 2.22
Diffstat (limited to 'logview/logview-findbar.c')
-rw-r--r-- | logview/logview-findbar.c | 5 |
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; } |