diff --git a/gdk/win32/gdkmain-win32.c b/gdk/win32/gdkmain-win32.c index c84a41bdfc..e4cd8d6629 100644 --- a/gdk/win32/gdkmain-win32.c +++ b/gdk/win32/gdkmain-win32.c @@ -1,6 +1,7 @@ /* GDK - The GIMP Drawing Kit * Copyright (C) 1995-1997 Peter Mattis, Spencer Kimball and Josh MacDonald * Copyright (C) 1998-2002 Tor Lillqvist + * Copyright (C) 2023 the GTK team * * This library is free software; you can redistribute it and/or * modify it under the terms of the GNU Lesser General Public @@ -16,13 +17,6 @@ * License along with this library. If not, see . */ -/* - * Modified by the GTK+ Team and others 1997-2000. See the AUTHORS - * file for a list of people on the GTK+ Team. See the ChangeLog - * files for a list of changes. These files are distributed with - * GTK+ at ftp://ftp.gtk.org/pub/gtk/. - */ - #include "config.h" #include @@ -45,8 +39,6 @@ #include #include -static gboolean gdk_synchronize = FALSE; - /* Whether GDK initialized COM */ static gboolean co_initialized = FALSE; @@ -60,9 +52,6 @@ _gdk_win32_surfaceing_init (void) win32_keymap = GDK_WIN32_KEYMAP (_gdk_win32_display_get_keymap (_gdk_display)); - if (gdk_synchronize) - GdiSetBatchLimit (1); - _gdk_input_locale = GetKeyboardLayout (0); _gdk_win32_keymap_set_active_layout (win32_keymap, _gdk_input_locale);