From c3851df92d9c4bff0bb99855faa8c8110d248318 Mon Sep 17 00:00:00 2001 From: John Ralls Date: Wed, 6 Oct 2010 01:18:25 +0200 Subject: [PATCH] Replace GDK_Tab and GDK_ISO_Left_Tab with GDK_KEY equivalents MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit Fixes https://bugzilla.gnome.org/show_bug.cgi?id=631475 Signed-off-by: Javier Jardón --- gdk/quartz/gdkkeys-quartz.c | 8 ++++---- gdk/x11/gdkkeys-x11.c | 4 ++-- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/gdk/quartz/gdkkeys-quartz.c b/gdk/quartz/gdkkeys-quartz.c index 8d0200c14..a077bfa22 100644 --- a/gdk/quartz/gdkkeys-quartz.c +++ b/gdk/quartz/gdkkeys-quartz.c @@ -277,10 +277,10 @@ maybe_update_keymap (void) } /* Special-case shift-tab since GTK+ expects - * GDK_ISO_Left_Tab for that. + * GDK_KEY_ISO_Left_Tab for that. */ - if (found && p[j] == GDK_Tab && modifiers[j] == shiftKey) - p[j] = GDK_ISO_Left_Tab; + if (found && p[j] == GDK_KEY_Tab && modifiers[j] == shiftKey) + p[j] = GDK_KEY_ISO_Left_Tab; if (!found) { @@ -359,7 +359,7 @@ maybe_update_keymap (void) } /* Special-case shift-tab since GTK+ expects - * GDK_ISO_Left_Tab for that. + * GDK_KEY_ISO_Left_Tab for that. */ if (found && p[j] == GDK_KEY_Tab && modifiers[j] == shiftKey) p[j] = GDK_KEY_ISO_Left_Tab; diff --git a/gdk/x11/gdkkeys-x11.c b/gdk/x11/gdkkeys-x11.c index e0a741431..831c69f1d 100644 --- a/gdk/x11/gdkkeys-x11.c +++ b/gdk/x11/gdkkeys-x11.c @@ -384,9 +384,9 @@ update_keymaps (GdkKeymapX11 *keymap_x11) &keymap_x11->keysyms_per_keycode); - /* GDK_ISO_Left_Tab, as usually configured through XKB, really messes + /* GDK_KEY_ISO_Left_Tab, as usually configured through XKB, really messes * up the whole idea of "consumed modifiers" because shift is consumed. - * However, Tab is not usually GDK_ISO_Left_Tab without XKB, + * However, Tab is not usually GDK_KEY_ISO_Left_Tab without XKB, * we we fudge the map here. */ keycode = keymap_x11->min_keycode; -- 2.43.2