From c5c75ece065d98b98cea8dc6758e9b0c2a3c509b Mon Sep 17 00:00:00 2001 From: Owen Taylor Date: Mon, 26 Jun 2000 23:44:19 +0000 Subject: Put 1.3.1 in warning message, not 1.3.0. Mon Jun 26 19:37:04 2000 Owen Taylor * configure.in: Put 1.3.1 in warning message, not 1.3.0. (Fixes problem with drawing childless frames. Pointed out by and a first patch from Anders) * gtk/gtkframe.c (gtk_frame_compute_child_allocation): Always compute a child_allocation, even if we don't have a child. * gtk/gtkaspectframe.c (gtk_aspect_frame_compute_child_allocation): Always chain to the parent's impl, even if we don't have a child. --- gtk/gtkaspectframe.c | 2 ++ 1 file changed, 2 insertions(+) (limited to 'gtk/gtkaspectframe.c') diff --git a/gtk/gtkaspectframe.c b/gtk/gtkaspectframe.c index 8040a1471d..00fbde6c15 100644 --- a/gtk/gtkaspectframe.c +++ b/gtk/gtkaspectframe.c @@ -282,4 +282,6 @@ gtk_aspect_frame_compute_child_allocation (GtkFrame *frame, child_allocation->x = full_allocation.x + aspect_frame->xalign * (full_allocation.width - child_allocation->width); child_allocation->y = full_allocation.y + aspect_frame->yalign * (full_allocation.height - child_allocation->height); } + else + parent_class->compute_child_allocation (frame, child_allocation); } -- cgit v1.2.1