aboutsummaryrefslogtreecommitdiffstats
path: root/shell/e-shell-content.c
diff options
context:
space:
mode:
authorMilan Crha <mcrha@redhat.com>2012-03-13 00:59:36 +0800
committerMilan Crha <mcrha@redhat.com>2012-03-13 00:59:36 +0800
commitb561899417254d66aa0dcfd3702170e6c72e4e36 (patch)
tree581b177d3d89f5582747472593c45e8043b3ff23 /shell/e-shell-content.c
parent31e869fb5ec050560962ad249fcea059f9ae0bdc (diff)
downloadgsoc2013-evolution-b561899417254d66aa0dcfd3702170e6c72e4e36.tar.gz
gsoc2013-evolution-b561899417254d66aa0dcfd3702170e6c72e4e36.tar.zst
gsoc2013-evolution-b561899417254d66aa0dcfd3702170e6c72e4e36.zip
Fix too large allocation for alert-bar in shell-content
Diffstat (limited to 'shell/e-shell-content.c')
-rw-r--r--shell/e-shell-content.c2
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;