[gtk/kill-tree-menu: 39/43] win32: Use a regular window for printing
- From: Matthias Clasen <matthiasc src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gtk/kill-tree-menu: 39/43] win32: Use a regular window for printing
- Date: Mon, 30 Dec 2019 01:35:44 +0000 (UTC)
commit 3fd427cfce7fb85a35b7b7471d0f28b5a258fe11
Author: Matthias Clasen <mclasen redhat com>
Date: Sat Dec 28 11:55:12 2019 -0500
win32: Use a regular window for printing
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 | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
---
diff --git a/gtk/gtkprintoperation-win32.c b/gtk/gtkprintoperation-win32.c
index 6308f1311b..2518545e7f 100644
--- a/gtk/gtkprintoperation-win32.c
+++ b/gtk/gtkprintoperation-win32.c
@@ -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
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]