diff options
author | Milan Crha <mcrha@redhat.com> | 2012-03-13 00:59:36 +0800 |
---|---|---|
committer | Milan Crha <mcrha@redhat.com> | 2012-03-13 00:59:36 +0800 |
commit | b561899417254d66aa0dcfd3702170e6c72e4e36 (patch) | |
tree | 581b177d3d89f5582747472593c45e8043b3ff23 /shell/e-shell-content.c | |
parent | 31e869fb5ec050560962ad249fcea059f9ae0bdc (diff) | |
download | gsoc2013-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.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; |