OSDN Git Service

gtk: add GDK_KEY_pause #define
authorGerd Hoffmann <kraxel@redhat.com>
Tue, 4 Nov 2014 07:32:26 +0000 (08:32 +0100)
committerGerd Hoffmann <kraxel@redhat.com>
Tue, 4 Nov 2014 13:40:20 +0000 (14:40 +0100)
Add pause key to the list of compatibility defines.
Fixes the build with older gtk versions.

Signed-off-by: Gerd Hoffmann <kraxel@redhat.com>
ui/gtk.c

index de564cc..38bf463 100644 (file)
--- a/ui/gtk.c
+++ b/ui/gtk.c
@@ -128,6 +128,7 @@ static inline void gdk_drawable_get_size(GdkWindow *w, gint *ww, gint *wh)
 #define GDK_KEY_q GDK_q
 #define GDK_KEY_plus GDK_plus
 #define GDK_KEY_minus GDK_minus
+#define GDK_KEY_Pause GDK_Pause
 #endif
 
 #define HOTKEY_MODIFIERS        (GDK_CONTROL_MASK | GDK_MOD1_MASK)