Commit db1cc4af authored by Michael Natterer's avatar Michael Natterer 😴

app: use gtk_widget_get_preferred_size() not get_requisition() in GimpView

parent 6ce7e420
......@@ -812,7 +812,7 @@ gimp_view_update_callback (GimpViewRenderer *renderer,
gint width;
gint height;
gtk_widget_get_requisition (widget, &requisition);
gtk_widget_get_preferred_size (widget, &requisition, NULL);
width = renderer->width + 2 * renderer->border_width;
height = renderer->height + 2 * renderer->border_width;
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment