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: Alexander Graf
Subject: Re: [Qemu-devel] [PULL 5/5] gtk: add GDK_KEY_pause #define
Date: Tue, 04 Nov 2014 14:39:00 +0100
User-agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.9; rv:31.0) Gecko/20100101 Thunderbird/31.2.0


On 04.11.14 12:51, Cornelia Huck wrote:
> 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.

... and in case you do the same mistake as me, it needs to be an upper
case P on both pauses ;).


Alex



reply via email to

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