[evolution] Fix too large allocation for alert-bar in shell-content
- From: Milan Crha <mcrha src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [evolution] Fix too large allocation for alert-bar in shell-content
- Date: Mon, 12 Mar 2012 17:00:14 +0000 (UTC)
commit b561899417254d66aa0dcfd3702170e6c72e4e36
Author: Milan Crha <mcrha redhat com>
Date: Mon Mar 12 17:59:36 2012 +0100
Fix too large allocation for alert-bar in shell-content
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 baf3173..24850ae 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;
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]