[gtk/less-invisible] printoperation-win32: Stop using an invisible



commit 785373ce2a85243e034cc89ff74de28d90aad6ca
Author: Matthias Clasen <mclasen redhat com>
Date:   Tue Feb 5 10:56:40 2019 -0500

    printoperation-win32: Stop using an invisible
    
    We can just as well use a GtkWindow here. We just need
    a handle. Untested.

 gtk/gtkprintoperation-win32.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/gtk/gtkprintoperation-win32.c b/gtk/gtkprintoperation-win32.c
index 980e9c5925..ac18261c71 100644
--- 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 "gtkinvisible.h"
+#include "gtkwindow.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 


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]