[gtk/keyval-to-uni-fix] gdk: Make gdk_keyval_to_unicode platform-independent
- From: Matthias Clasen <matthiasc src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gtk/keyval-to-uni-fix] gdk: Make gdk_keyval_to_unicode platform-independent
- Date: Mon, 22 Jun 2020 12:33:04 +0000 (UTC)
commit 2df139cf4009e30fe76d7b9b3720c57d6b509662
Author: Matthias Clasen <mclasen redhat com>
Date: Mon Jun 22 08:31:10 2020 -0400
gdk: Make gdk_keyval_to_unicode platform-independent
The result of gdk_keyval_to_unicode should not depend
on the platform.
gdk/gdkkeyuni.c | 10 ----------
1 file changed, 10 deletions(-)
---
diff --git a/gdk/gdkkeyuni.c b/gdk/gdkkeyuni.c
index d032f6afe7..863d2b4935 100644
--- a/gdk/gdkkeyuni.c
+++ b/gdk/gdkkeyuni.c
@@ -903,16 +903,6 @@ gdk_keyval_to_unicode (guint keyval)
if ((keyval & 0xff000000) == 0x01000000)
return keyval & 0x00ffffff;
-#if defined(GDK_WINDOWING_WIN32)
- if (GDK_IS_WIN32_DISPLAY (gdk_display_get_default ()) &&
- keyval == 0xffae)
- {
- GdkWin32Keymap *keymap = GDK_WIN32_KEYMAP (gdk_display_get_keymap (gdk_display_get_default ()));
-
- return (guint32) _gdk_win32_keymap_get_decimal_mark (keymap);
- }
-#endif
-
/* binary search in table */
while (max >= min) {
mid = (min + max) / 2;
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]