diff options
author | Tim Janik <timj@gtk.org> | 2002-01-02 22:08:49 +0000 |
---|---|---|
committer | Tim Janik <timj@src.gnome.org> | 2002-01-02 22:08:49 +0000 |
commit | bc879373a250a3aa41d64c3b66a33bf8e3d43d10 (patch) | |
tree | 05827265926f7757d6a7d4f616f78667753d59a2 /gtk/gtkcontainer.c | |
parent | 11ae67f9eb63a4e60e4bbdcbfe42902ab2b1d7d0 (diff) | |
download | gdk-pixbuf-bc879373a250a3aa41d64c3b66a33bf8e3d43d10.tar.gz |
don't ignore realized but visible && !mapped resize containers (which is
Wed Jan 2 23:09:06 2002 Tim Janik <timj@gtk.org>
* gtk/gtkcontainer.c (_gtk_container_queue_resize): don't ignore
realized but visible && !mapped resize containers (which is
possible with unset CHILD_VISIBLE now).
Diffstat (limited to 'gtk/gtkcontainer.c')
-rw-r--r-- | gtk/gtkcontainer.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/gtk/gtkcontainer.c b/gtk/gtkcontainer.c index 84a814e08..79cdd4de2 100644 --- a/gtk/gtkcontainer.c +++ b/gtk/gtkcontainer.c @@ -1056,7 +1056,7 @@ _gtk_container_queue_resize (GtkContainer *container) } if (GTK_WIDGET_VISIBLE (resize_container) && - (GTK_WIDGET_TOPLEVEL (resize_container) || GTK_WIDGET_DRAWABLE (resize_container))) + (GTK_WIDGET_TOPLEVEL (resize_container) || GTK_WIDGET_REALIZED (resize_container))) { switch (resize_container->resize_mode) { @@ -1077,7 +1077,7 @@ _gtk_container_queue_resize (GtkContainer *container) break; case GTK_RESIZE_PARENT: - /* Ignore, should not be reached */ + g_assert_not_reached (); break; } } |