summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/tools/marco-mag.c6
1 files changed, 1 insertions, 5 deletions
diff --git a/src/tools/marco-mag.c b/src/tools/marco-mag.c
index 157c9846..a87c9e3a 100644
--- a/src/tools/marco-mag.c
+++ b/src/tools/marco-mag.c
@@ -29,10 +29,6 @@
#include <stdlib.h>
#include <math.h>
-#if GTK_CHECK_VERSION(3, 0, 0)
- #include <gdk/gdkkeysyms-compat.h>
-#endif
-
static GtkWidget *grab_widget = NULL;
static GtkWidget *display_window = NULL;
static int last_grab_x = 0;
@@ -208,7 +204,7 @@ key_press (GtkWidget *invisible,
GdkEventKey *event,
gpointer data)
{
- if (event->keyval == GDK_Escape)
+ if (event->keyval == GDK_KEY_Escape)
{
shutdown_grab ();