win32: Remove outdated debug messages
authorBenjamin Otte <otte@redhat.com>
Mon, 17 Apr 2023 02:11:16 +0000 (04:11 +0200)
committerBenjamin Otte <otte@redhat.com>
Wed, 26 Apr 2023 19:03:34 +0000 (21:03 +0200)
They are not needed anymore as they print stuff that's no decided in
that function anymore.

gdk/win32/gdksurface-win32.c

index 475cb80f8ae9014e534936b6e064cf28baa53d3b..c9970ec359f755ef51ceb39799a8618a966e7906 100644 (file)
@@ -460,13 +460,6 @@ gdk_win32_display_create_surface (GdkDisplay     *display,
   wchar_t *wtitle;
   GdkFrameClock *frame_clock;
 
-  g_return_val_if_fail (display == _gdk_display, NULL);
-
-  GDK_NOTE (MISC,
-            g_print ("_gdk_surface_new: %s\n", (surface_type == GDK_SURFACE_TOPLEVEL ? "TOPLEVEL" :
-                                                       (surface_type == GDK_SURFACE_DRAG? "TEMP" :
-                                                      (surface_type == GDK_SURFACE_DRAG ? "POPUP" : "???")))));
-
   display_win32 = GDK_WIN32_DISPLAY (display);
 
   if (parent)
@@ -564,14 +557,6 @@ gdk_win32_display_create_surface (GdkDisplay     *display,
    */
   gdk_win32_handle_table_insert (&GDK_SURFACE_HWND (impl), impl);
 
-  GDK_NOTE (MISC, g_print ("... \"%s\" %dx%d@%+d%+d %p = %p\n",
-                          title,
-                          window_width, window_height,
-                          surface->x,
-                          surface->y,
-                          owner,
-                          hwndNew));
-
   g_free (wtitle);
 
   if (impl->handle == NULL)