summaryrefslogtreecommitdiff
path: root/gtk/gtkprintoperation-win32.c
diff options
context:
space:
mode:
authorMatthias Clasen <mclasen@redhat.com>2020-03-12 07:01:30 -0400
committerMatthias Clasen <mclasen@redhat.com>2020-03-13 07:47:48 -0400
commit19e2ab76ce9aa1539603d3d69ce30ae787d72f07 (patch)
tree1fd853280d71b1e743cf38809a16270e9abc5272 /gtk/gtkprintoperation-win32.c
parent2b2d6bf747533c7175e3f9f2debca05495e99ade (diff)
downloadgtk+-19e2ab76ce9aa1539603d3d69ce30ae787d72f07.tar.gz
win32: Build fixes
These fixes were done blindly, to make the ci pass, and will need review by somebody with access to an actual win32 system to make sure the surface subtypes are implemented properly.
Diffstat (limited to 'gtk/gtkprintoperation-win32.c')
-rw-r--r--gtk/gtkprintoperation-win32.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/gtk/gtkprintoperation-win32.c b/gtk/gtkprintoperation-win32.c
index 1022dbd133..56abcbaf25 100644
--- a/gtk/gtkprintoperation-win32.c
+++ b/gtk/gtkprintoperation-win32.c
@@ -1426,7 +1426,6 @@ pageDlgProc (HWND wnd, UINT message, WPARAM wparam, LPARAM lparam)
gtk_container_add (GTK_CONTAINER (plug), op->priv->custom_widget);
gtk_widget_show (op->priv->custom_widget);
gtk_widget_show (plug);
- gdk_surface_focus (gtk_native_get_surface (gtk_widget_get_native (plug)), GDK_CURRENT_TIME);
/* This dialog is modal, so we grab the embed widget */
gtk_grab_add (plug);