From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:40582) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XlceQ-0006or-4I for qemu-devel@nongnu.org; Tue, 04 Nov 2014 06:52:03 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1XlceF-0000UB-GJ for qemu-devel@nongnu.org; Tue, 04 Nov 2014 06:51:54 -0500 Received: from e06smtp13.uk.ibm.com ([195.75.94.109]:45676) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XlceF-0000Pz-6d for qemu-devel@nongnu.org; Tue, 04 Nov 2014 06:51:43 -0500 Received: from /spool/local by e06smtp13.uk.ibm.com with IBM ESMTP SMTP Gateway: Authorized Use Only! Violators will be prosecuted for from ; Tue, 4 Nov 2014 11:51:40 -0000 Received: from b06cxnps3075.portsmouth.uk.ibm.com (d06relay10.portsmouth.uk.ibm.com [9.149.109.195]) by d06dlp02.portsmouth.uk.ibm.com (Postfix) with ESMTP id 03926219005E for ; Tue, 4 Nov 2014 11:51:13 +0000 (GMT) Received: from d06av05.portsmouth.uk.ibm.com (d06av05.portsmouth.uk.ibm.com [9.149.37.229]) by b06cxnps3075.portsmouth.uk.ibm.com (8.14.9/8.14.9/NCO v10.0) with ESMTP id sA4BpcBZ19726712 for ; Tue, 4 Nov 2014 11:51:38 GMT Received: from d06av05.portsmouth.uk.ibm.com (localhost [127.0.0.1]) by d06av05.portsmouth.uk.ibm.com (8.14.4/8.14.4/NCO v10.0 AVout) with ESMTP id sA4BpbMi022168 for ; Tue, 4 Nov 2014 04:51:37 -0700 Date: Tue, 4 Nov 2014 12:51:32 +0100 From: Cornelia Huck Message-ID: <20141104125132.1601d95d.cornelia.huck@de.ibm.com> In-Reply-To: <1415097671-15343-6-git-send-email-kraxel@redhat.com> References: <1415097671-15343-1-git-send-email-kraxel@redhat.com> <1415097671-15343-6-git-send-email-kraxel@redhat.com> Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Subject: Re: [Qemu-devel] [PULL 5/5] gtk: add GDK_KEY_pause #define List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Gerd Hoffmann Cc: qemu-devel@nongnu.org, Anthony Liguori On Tue, 4 Nov 2014 11:41:11 +0100 Gerd Hoffmann wrote: > Add pause key to the list of compatibility defines. > Fixes the build with older gtk versions. > > Signed-off-by: Gerd Hoffmann > --- > 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)