diff options
| author | Thomas Huth | 2016-11-02 11:08:48 +0100 |
|---|---|---|
| committer | Stefan Hajnoczi | 2016-11-10 16:29:58 +0100 |
| commit | 204af15b04a448aa6e954e37613ac43467fd76c4 (patch) | |
| tree | e2c42be51d1cb2dab2937d8353027910e9ff6d10 /include/net/queue.h | |
| parent | usbredir: free vm_change_state_handler in usbredir destroy dispatch (diff) | |
| download | qemu-204af15b04a448aa6e954e37613ac43467fd76c4.tar.gz qemu-204af15b04a448aa6e954e37613ac43467fd76c4.tar.xz qemu-204af15b04a448aa6e954e37613ac43467fd76c4.zip | |
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 <thuth@redhat.com>
Reviewed-by: Daniel P. Berrange <berrange@redhat.com>
Message-id: 1478081328-25515-1-git-send-email-thuth@redhat.com
Signed-off-by: Gerd Hoffmann <kraxel@redhat.com>
Diffstat (limited to 'include/net/queue.h')
0 files changed, 0 insertions, 0 deletions
