summaryrefslogtreecommitdiff
path: root/gtk/gtkprintoperation-win32.c
diff options
context:
space:
mode:
authorBenjamin Otte <otte@redhat.com>2018-04-06 20:30:34 +0200
committerBenjamin Otte <otte@redhat.com>2019-02-15 06:53:17 +0100
commitaeda099f47b0868e84bb26217539904e490d7ea8 (patch)
treee1a16e212eba76da9d24f3a83d492753f9b84e85 /gtk/gtkprintoperation-win32.c
parent2e5bc9fbc38e8ef4dfe7e07514ba5c3d05ed37b6 (diff)
downloadgtk+-aeda099f47b0868e84bb26217539904e490d7ea8.tar.gz
widget: Remove toplevel flag
Instead, rely on GTK_IS_ROOT(). Also implement GtkRoot on GtkWindow and GtkInvisible, the two widgets that used to set the toplevel flag before.
Diffstat (limited to 'gtk/gtkprintoperation-win32.c')
-rw-r--r--gtk/gtkprintoperation-win32.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/gtk/gtkprintoperation-win32.c b/gtk/gtkprintoperation-win32.c
index ac18261c71..4f21c1f17f 100644
--- a/gtk/gtkprintoperation-win32.c
+++ b/gtk/gtkprintoperation-win32.c
@@ -1382,8 +1382,6 @@ pageDlgProc (HWND wnd, UINT message, WPARAM wparam, LPARAM lparam)
SetWindowLongPtrW (wnd, GWLP_USERDATA, (LONG_PTR)op);
- _gtk_widget_set_is_toplevel (plug, TRUE);
-
gtk_window_set_modal (GTK_WINDOW (plug), TRUE);
op_win32->embed_widget = plug;
gtk_container_add (GTK_CONTAINER (plug), op->priv->custom_widget);