summaryrefslogtreecommitdiff
path: root/gtk/gtkframe.c
diff options
context:
space:
mode:
authorTristan Van Berkom <tristan.van.berkom@gmail.com>2010-08-06 18:57:41 -0400
committerTristan Van Berkom <tristan.van.berkom@gmail.com>2010-08-06 18:57:41 -0400
commit03dfaf3c3e53b892eeff9e72639aca3eab28f437 (patch)
treec62d57e32baa47a1772d0c0251bbc66268a94150 /gtk/gtkframe.c
parent651bed57a4da840149caca5738c0915f937b2bc5 (diff)
downloadgtk+-03dfaf3c3e53b892eeff9e72639aca3eab28f437.tar.gz
Fixed bad typo causing bad vertical requests on frames with no label.
Diffstat (limited to 'gtk/gtkframe.c')
-rw-r--r--gtk/gtkframe.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gtk/gtkframe.c b/gtk/gtkframe.c
index 76cf1fd958..32b191b35d 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;