summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChun-wei Fan <fanchunwei@src.gnome.org>2017-07-21 15:53:53 +0800
committerChun-wei Fan <fanchunwei@src.gnome.org>2017-07-21 23:35:38 +0800
commit73e81b64b65c51988e2d2da8764480f4d485dad4 (patch)
tree33a7e539c67b42b5ab7cdf2a77361ecc260a2cd0
parent837c2002e9e1acdf44c304aaa123bd8b7e4740d4 (diff)
downloadgtk+-73e81b64b65c51988e2d2da8764480f4d485dad4.tar.gz
gtk/gtkprintoperation-win32.c: Don't call gtk_widget_set_allocation()
This function was removed recently. https://bugzilla.gnome.org/show_bug.cgi?id=773299
-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 ee1294d303..2d11bce5b0 100644
--- a/gtk/gtkprintoperation-win32.c
+++ b/gtk/gtkprintoperation-win32.c
@@ -1406,7 +1406,6 @@ pageDlgProc (HWND wnd, UINT message, WPARAM wparam, LPARAM lparam)
alloc.width = LOWORD (lparam);
alloc.height = HIWORD (lparam);
- gtk_widget_set_allocation (op_win32->embed_widget, &alloc);
gtk_widget_queue_resize (op_win32->embed_widget);
}