[gtk+] GtkEventBox: Correctly handle height for width
- From: Alexander Larsson <alexl src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gtk+] GtkEventBox: Correctly handle height for width
- Date: Mon, 6 May 2013 15:50:16 +0000 (UTC)
commit c6a5b800c29040a6e9e4d73bac4adcc990cc7dcc
Author: Alexander Larsson <alexl redhat com>
Date: Mon May 6 17:48:46 2013 +0200
GtkEventBox: Correctly handle height for width
We need to pass on the width to the child.
https://bugzilla.gnome.org/show_bug.cgi?id=699140
gtk/gtkeventbox.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/gtk/gtkeventbox.c b/gtk/gtkeventbox.c
index fa49a5d..b696d1b 100644
--- a/gtk/gtkeventbox.c
+++ b/gtk/gtkeventbox.c
@@ -547,7 +547,7 @@ gtk_event_box_get_preferred_height_and_baseline_for_width (GtkWidget *widget,
child = gtk_bin_get_child (bin);
if (child && gtk_widget_get_visible (child))
gtk_widget_get_preferred_height_and_baseline_for_width (child,
- -1,
+ width,
minimum,
natural,
minimum_baseline,
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]