]> Git Repo - qemu.git/commit
ui/gtk: Fix build with older versions of gtk
authorThomas Huth <[email protected]>
Wed, 2 Nov 2016 10:08:48 +0000 (11:08 +0100)
committerStefan Hajnoczi <[email protected]>
Thu, 10 Nov 2016 15:29:58 +0000 (15:29 +0000)
commit204af15b04a448aa6e954e37613ac43467fd76c4
treee2c42be51d1cb2dab2937d8353027910e9ff6d10
parent07b026fd82d6cf11baf7d7c603c4f5f6070b35bf
ui/gtk: Fix build with older versions of gtk

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 <[email protected]>
Reviewed-by: Daniel P. Berrange <[email protected]>
Message-id: 1478081328[email protected]
Signed-off-by: Gerd Hoffmann <[email protected]>
ui/gtk.c
This page took 0.020961 seconds and 4 git commands to generate.