projects
/
gtk4.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
aad4499
)
printoperation-win32: Stop using an invisible
author
Matthias Clasen
<mclasen@redhat.com>
Tue, 5 Feb 2019 15:56:40 +0000
(10:56 -0500)
committer
Matthias Clasen
<mclasen@redhat.com>
Tue, 5 Feb 2019 15:56:40 +0000
(10:56 -0500)
We can just as well use a GtkWindow here. We just need
a handle. Untested.
gtk/gtkprintoperation-win32.c
patch
|
blob
|
history
diff --git
a/gtk/gtkprintoperation-win32.c
b/gtk/gtkprintoperation-win32.c
index 980e9c59252d30961bd0edc46db9c05de43682e1..ac18261c71fdb46c601006a6d0dcaff212e3fd51 100644
(file)
--- a/
gtk/gtkprintoperation-win32.c
+++ b/
gtk/gtkprintoperation-win32.c
@@
-41,7
+41,7
@@
#include "gtkprintoperation-private.h"
#include "gtkprint-win32.h"
#include "gtkintl.h"
-#include "gtk
invisible
.h"
+#include "gtk
window
.h"
#include "gtkprivate.h"
#include "gtkwidgetprivate.h"
@@
-1719,7
+1719,7
@@
gtk_print_operation_run_with_dialog (GtkPrintOperation *op,
if (parent == NULL)
{
- invisible = gtk_
invisible_new (
);
+ invisible = gtk_
window_new (GTK_WINDOW_POPUP
);
parentHWnd = get_parent_hwnd (invisible);
}
else