diff options
-rw-r--r-- | shell/e-shell-content.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/shell/e-shell-content.c b/shell/e-shell-content.c index baf3173b23..24850aeb40 100644 --- a/shell/e-shell-content.c +++ b/shell/e-shell-content.c @@ -315,7 +315,7 @@ shell_content_size_allocate (GtkWidget *widget, child_allocation.y += child_requisition.height; if (gtk_widget_get_visible (child)) - gtk_widget_get_preferred_size (child, &child_requisition, NULL); + gtk_widget_get_preferred_height_for_width (child, child_allocation.width, &child_requisition.height, NULL); else child_requisition.height = 0; |