diff --git a/gdk/quartz/gdkkeys-quartz.c b/gdk/quartz/gdkkeys-quartz.c
index 8d0200c..b91d732 100644
--- a/gdk/quartz/gdkkeys-quartz.c
+++ b/gdk/quartz/gdkkeys-quartz.c
@@ -279,8 +279,8 @@ maybe_update_keymap (void)
 		      /* Special-case shift-tab since GTK+ expects
 		       * GDK_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)
                         {
