diff options
author | Owen Taylor <otaylor@redhat.com> | 2000-06-26 23:44:19 +0000 |
---|---|---|
committer | Owen Taylor <otaylor@src.gnome.org> | 2000-06-26 23:44:19 +0000 |
commit | c5c75ece065d98b98cea8dc6758e9b0c2a3c509b (patch) | |
tree | fb53adbe2f35d80fa9e9ea5ab9cf05d4f7a321c9 /gtk/gtkaspectframe.c | |
parent | 2bb4bcff5d757075502019b0838677c9895ee5b7 (diff) | |
download | gtk+-c5c75ece065d98b98cea8dc6758e9b0c2a3c509b.tar.gz |
Put 1.3.1 in warning message, not 1.3.0.
Mon Jun 26 19:37:04 2000 Owen Taylor <otaylor@redhat.com>
* 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.
Diffstat (limited to 'gtk/gtkaspectframe.c')
-rw-r--r-- | gtk/gtkaspectframe.c | 2 |
1 files changed, 2 insertions, 0 deletions
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); } |