ui/gtk: remove unused code
authorVolker Rümelin <vr_qemu@t-online.de>
Sat, 16 May 2020 07:20:07 +0000 (09:20 +0200)
committerGerd Hoffmann <kraxel@redhat.com>
Tue, 19 May 2020 07:06:44 +0000 (09:06 +0200)
This code was last used before commit 2ec78706d1 "ui: convert
GTK and SDL1 frontends to keycodemapdb".

Reviewed-by: Philippe Mathieu-Daudé <philmd@redhat.com>
Signed-off-by: Volker Rümelin <vr_qemu@t-online.de>
Message-id: 20200516072014.7766-4-vr_qemu@t-online.de
Signed-off-by: Gerd Hoffmann <kraxel@redhat.com>
ui/gtk.c

index 655b26de384ef9b776706a213987f5ce161745db..0e9503a0d1d9270c5deadf5a9f5eb8a4dacbc15a 100644 (file)
--- a/ui/gtk.c
+++ b/ui/gtk.c
 # define VTE_CHECK_VERSION(a, b, c) 0
 #endif
 
-/* Some older mingw versions lack this constant or have
- * it conditionally defined */
-#ifdef _WIN32
-# ifndef MAPVK_VK_TO_VSC
-#  define MAPVK_VK_TO_VSC 0
-# endif
-#endif
-
-
 #define HOTKEY_MODIFIERS        (GDK_CONTROL_MASK | GDK_MOD1_MASK)
 
 static const guint16 *keycode_map;