[gtk+] Fixed bad typo causing bad vertical requests on frames with no label.
- From: Tristan Van Berkom <tvb src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gtk+] Fixed bad typo causing bad vertical requests on frames with no label.
- Date: Fri, 6 Aug 2010 22:57:36 +0000 (UTC)
commit 03dfaf3c3e53b892eeff9e72639aca3eab28f437
Author: Tristan Van Berkom <tristan van berkom gmail com>
Date: Fri Aug 6 18:57:41 2010 -0400
Fixed bad typo causing bad vertical requests on frames with no label.
gtk/gtkframe.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/gtk/gtkframe.c b/gtk/gtkframe.c
index 76cf1fd..32b191b 100644
--- a/gtk/gtkframe.c
+++ b/gtk/gtkframe.c
@@ -905,7 +905,7 @@ gtk_frame_get_height_for_width (GtkSizeRequest *request,
child = gtk_bin_get_child (bin);
if (child && gtk_widget_get_visible (child))
{
- gtk_size_request_get_height_for_width (GTK_SIZE_REQUEST (priv->label_widget),
+ gtk_size_request_get_height_for_width (GTK_SIZE_REQUEST (child),
width, &child_min, &child_nat);
minimum += child_min;
natural += child_nat;
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]