aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGerd Hoffmann <kraxel@redhat.com>2014-11-04 08:32:26 +0100
committerGerd Hoffmann <kraxel@redhat.com>2014-11-04 14:40:20 +0100
commitdc5201714684fa9bf993e7be5f12d5293e9793d4 (patch)
tree7545662cdf51ae83ba0bfa47214ca7e59f34a6ac
parentb0f3182064c4943b91d4089ff2ed2d3c2d389ac6 (diff)
gtk: add GDK_KEY_pause #define
Add pause key to the list of compatibility defines. Fixes the build with older gtk versions. Signed-off-by: Gerd Hoffmann <kraxel@redhat.com>
-rw-r--r--ui/gtk.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/ui/gtk.c b/ui/gtk.c
index de564cc3dc..38bf463392 100644
--- 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)