qemu-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Qemu-devel] [PULL 5/5] gtk: add GDK_KEY_pause #define


From: Cornelia Huck
Subject: Re: [Qemu-devel] [PULL 5/5] gtk: add GDK_KEY_pause #define
Date: Tue, 4 Nov 2014 12:51:32 +0100

On Tue,  4 Nov 2014 11:41:11 +0100
Gerd Hoffmann <address@hidden> wrote:

> Add pause key to the list of compatibility defines.
> Fixes the build with older gtk versions.
> 
> Signed-off-by: Gerd Hoffmann <address@hidden>
> ---
>  ui/gtk.c | 1 +
>  1 file changed, 1 insertion(+)
> 
> diff --git a/ui/gtk.c b/ui/gtk.c
> index de564cc..2f3e716 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

This needs to be _Pause with a capital 'P', otherwise the build still
fails.

>  #endif
> 
>  #define HOTKEY_MODIFIERS        (GDK_CONTROL_MASK | GDK_MOD1_MASK)




reply via email to

[Prev in Thread] Current Thread [Next in Thread]