[gtk/keymap-rework-2: 1/13] imcontextsimple: Disable some win32-only code
- From: Matthias Clasen <matthiasc src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gtk/keymap-rework-2: 1/13] imcontextsimple: Disable some win32-only code
- Date: Mon, 6 Apr 2020 19:34:52 +0000 (UTC)
commit 0eb728aa517ccdefbdee1e329a30e90adcc7a31f
Author: Matthias Clasen <mclasen redhat com>
Date: Mon Apr 6 15:32:27 2020 -0400
imcontextsimple: Disable some win32-only code
This code needs to be redone differently, since keymaps are no
longer going to be exposed. There should really not be this much
ifdef-ed backend-specific code here anyway. Or any, really.
gtk/gtkimcontextsimple.c | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
---
diff --git a/gtk/gtkimcontextsimple.c b/gtk/gtkimcontextsimple.c
index 061fae5d10..1e5bfac6c0 100644
--- a/gtk/gtkimcontextsimple.c
+++ b/gtk/gtkimcontextsimple.c
@@ -1262,7 +1262,8 @@ gtk_im_context_simple_filter_keypress (GtkIMContext *context,
{
gboolean success = FALSE;
-#ifdef GDK_WINDOWING_WIN32
+#if 0
+ /* FIXME this needs redoing since keymaps are no longer exposed */
if (GDK_IS_WIN32_DISPLAY (display))
{
guint16 output[2];
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]