GdkWin32: Remove gdk_synchronize
authorLuca Bacci <luca.bacci982@gmail.com>
Wed, 2 Aug 2023 15:20:12 +0000 (17:20 +0200)
committerLuca Bacci <luca.bacci982@gmail.com>
Wed, 2 Aug 2023 16:08:10 +0000 (18:08 +0200)
gdk/win32/gdkmain-win32.c

index c84a41bdfccbf3bbb8b92f2cf5a448d5dc3f280c..e4cd8d662947651f925cdecb6f7f8e4893bb044f 100644 (file)
@@ -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
  * License along with this library. If not, see <http://www.gnu.org/licenses/>.
  */
 
-/*
- * 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 <glib/gprintf.h>
@@ -45,8 +39,6 @@
 #include <wintab.h>
 #include <imm.h>
 
-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);