From b561899417254d66aa0dcfd3702170e6c72e4e36 Mon Sep 17 00:00:00 2001 From: Milan Crha Date: Mon, 12 Mar 2012 17:59:36 +0100 Subject: Fix too large allocation for alert-bar in shell-content --- shell/e-shell-content.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'shell') 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; -- cgit v1.2.3