From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:36449) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1c1sdH-000811-Jz for qemu-devel@nongnu.org; Wed, 02 Nov 2016 06:19:00 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1c1sdB-0006gi-Qd for qemu-devel@nongnu.org; Wed, 02 Nov 2016 06:18:59 -0400 Date: Wed, 2 Nov 2016 10:18:48 +0000 From: "Daniel P. Berrange" Message-ID: <20161102101848.GB2573@redhat.com> Reply-To: "Daniel P. Berrange" References: <1478081328-25515-1-git-send-email-thuth@redhat.com> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline In-Reply-To: <1478081328-25515-1-git-send-email-thuth@redhat.com> Subject: Re: [Qemu-devel] [PATCH] ui/gtk: Fix build with older versions of gtk List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Thomas Huth Cc: qemu-devel@nongnu.org, Gerd Hoffmann , qemu-trivial@nongnu.org On Wed, Nov 02, 2016 at 11:08:48AM +0100, Thomas Huth wrote: > GDK_KEY_Delete is only defined with gtk version 2.22 and newer, > on older versions this key was called GDK_Delete instead. > Since this is the case for all GDK_KEY_* defines, change the > already existing preprocessor check there to test for version 2.22, > so we know that we can remove this code block in case we require > that version as a minimum one day. > > Signed-off-by: Thomas Huth > --- > ui/gtk.c | 3 ++- > 1 file changed, 2 insertions(+), 1 deletion(-) Reviewed-by: Daniel P. Berrange Regards, Daniel -- |: http://berrange.com -o- http://www.flickr.com/photos/dberrange/ :| |: http://libvirt.org -o- http://virt-manager.org :| |: http://entangle-photo.org -o- http://search.cpan.org/~danberr/ :|