summaryrefslogtreecommitdiff
path: root/gtk/gtkprintoperation-win32.c
diff options
context:
space:
mode:
authorTor Lillqvist <tml@novell.com>2007-09-24 13:45:40 +0000
committerTor Lillqvist <tml@src.gnome.org>2007-09-24 13:45:40 +0000
commit9e0fabe08124af576cc685df16d77e91eab3304a (patch)
tree142668c004a59dc29575aac1556bcbd456ac4f7b /gtk/gtkprintoperation-win32.c
parent6d90b06a7f8d9eeb24c4d0c33a5f9f96959b6291 (diff)
downloadgtk+-9e0fabe08124af576cc685df16d77e91eab3304a.tar.gz
Set the GtkWin32EmbedWidget we create here as modal. Fixes #389358.
2007-09-24 Tor Lillqvist <tml@novell.com> * gtk/gtkprintoperation-win32.c (pageDlgProc): Set the GtkWin32EmbedWidget we create here as modal. Fixes #389358. svn path=/trunk/; revision=18860
Diffstat (limited to 'gtk/gtkprintoperation-win32.c')
-rw-r--r--gtk/gtkprintoperation-win32.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/gtk/gtkprintoperation-win32.c b/gtk/gtkprintoperation-win32.c
index 1c034bfbfc..eb061afb53 100644
--- a/gtk/gtkprintoperation-win32.c
+++ b/gtk/gtkprintoperation-win32.c
@@ -1310,6 +1310,7 @@ pageDlgProc (HWND wnd, UINT message, WPARAM wparam, LPARAM lparam)
SetWindowLongPtrW(wnd, GWLP_USERDATA, (LONG_PTR)op);
plug = _gtk_win32_embed_widget_new ((GdkNativeWindow) wnd);
+ gtk_window_set_modal (GTK_WINDOW (plug), TRUE);
op_win32->embed_widget = plug;
gtk_container_add (GTK_CONTAINER (plug), op->priv->custom_widget);
gtk_widget_show (op->priv->custom_widget);