diff options
Diffstat (limited to 'gtk/gtkprintoperation-win32.c')
-rw-r--r-- | gtk/gtkprintoperation-win32.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/gtk/gtkprintoperation-win32.c b/gtk/gtkprintoperation-win32.c index 6630019141..aee3b500ee 100644 --- a/gtk/gtkprintoperation-win32.c +++ b/gtk/gtkprintoperation-win32.c @@ -1411,8 +1411,8 @@ create_application_page (GtkPrintOperation *op) const char *tab_label; /* Make the template the size of the custom widget size request */ - gtk_size_request_get_size (GTK_SIZE_REQUEST (op->priv->custom_widget), - &requisition, NULL); + gtk_widget_get_preferred_size (op->priv->custom_widget, + &requisition, NULL); base_units = GetDialogBaseUnits (); baseunitX = LOWORD (base_units); |