[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[PATCH v2 04/11] ui/gtk: remove unused code
From: |
Volker Rümelin |
Subject: |
[PATCH v2 04/11] ui/gtk: remove unused code |
Date: |
Sat, 16 May 2020 09:20:07 +0200 |
This code was last used before commit 2ec78706d1 "ui: convert
GTK and SDL1 frontends to keycodemapdb".
Reviewed-by: Philippe Mathieu-Daudé <address@hidden>
Signed-off-by: Volker Rümelin <address@hidden>
---
ui/gtk.c | 9 ---------
1 file changed, 9 deletions(-)
diff --git a/ui/gtk.c b/ui/gtk.c
index 655b26de38..0e9503a0d1 100644
--- a/ui/gtk.c
+++ b/ui/gtk.c
@@ -112,15 +112,6 @@
# 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;
--
2.26.1
- [PATCH v2 00/11] Patches for ui/gtk and ui/sdl, Volker Rümelin, 2020/05/16
- [PATCH v2 02/11] ui/gtk: fix handling of AltGr key on Windows, Volker Rümelin, 2020/05/16
- [PATCH v2 01/11] ui/win32-kbd-hook: handle AltGr in a hook procedure, Volker Rümelin, 2020/05/16
- [PATCH v2 04/11] ui/gtk: remove unused code,
Volker Rümelin <=
- [PATCH v2 03/11] ui/gkt: release all keys on grab-broken-event, Volker Rümelin, 2020/05/16
- [PATCH v2 06/11] ui/sdl2: fix handling of AltGr key on Windows, Volker Rümelin, 2020/05/16
- [PATCH v2 07/11] ui/sdl2: start in full screen with grab enabled, Volker Rümelin, 2020/05/16
- [PATCH v2 09/11] ui/gtk: don't pass on win keys without keyboard grab, Volker Rümelin, 2020/05/16
- [PATCH v2 05/11] ui/gtk: remove unused variable ignore_keys, Volker Rümelin, 2020/05/16
- [PATCH v2 08/11] ui/sdl2-input: use trace-events to debug key events, Volker Rümelin, 2020/05/16
- [PATCH v2 10/11] ui/gtk: use native keyboard scancodes on Windows, Volker Rümelin, 2020/05/16
- [PATCH v2 11/11] ui: increase min required GTK version to 3.22.0, Volker Rümelin, 2020/05/16