win32: Use a regular window for printing
authorMatthias Clasen <mclasen@redhat.com>
Sat, 28 Dec 2019 16:55:12 +0000 (11:55 -0500)
committerMatthias Clasen <mclasen@redhat.com>
Mon, 30 Dec 2019 01:31:58 +0000 (20:31 -0500)
We never show this window, so it should not matter.
Ideally, we'd just create a surface to get handle,
anyway.

gtk/gtkprintoperation-win32.c

index 6308f1311b56f186c631c813836bdcf61816398d..2518545e7fb31b4ddc0d8878a3e1a7041d9c3b43 100644 (file)
@@ -1722,7 +1722,7 @@ gtk_print_operation_run_with_dialog (GtkPrintOperation *op,
   
   if (parent == NULL)
     {
-      invisible = gtk_window_new (GTK_WINDOW_POPUP);
+      invisible = gtk_window_new (GTK_WINDOW_TOPLEVEL);
       parentHWnd = get_parent_hwnd (invisible);
     }
   else