summaryrefslogtreecommitdiff
path: root/gtk/gtkcontainer.c
diff options
context:
space:
mode:
authorTim Janik <timj@gtk.org>1998-03-18 02:05:27 +0000
committerTim Janik <timj@src.gnome.org>1998-03-18 02:05:27 +0000
commite648c2d68fac18e27b06783f3c2aaea3f52b3c82 (patch)
tree50626bc572fbea80d10371f018460b53fa92581d /gtk/gtkcontainer.c
parent467e4e73c1a3817b4dc50a5c5ae88b408ce96c1a (diff)
downloadgtk+-e648c2d68fac18e27b06783f3c2aaea3f52b3c82.tar.gz
use the resize queue.
Wed Mar 18 02:06:52 1998 Tim Janik <timj@gtk.org> * gtk/gtkcontainer.c (gtk_container_border_width): use the resize queue. * gtk/gtkwindow.c (gtk_window_set_arg): gtk_window_set_hints() after setting certain arguments, so they actually take affect. (gtk_window_set_policy): likewise.
Diffstat (limited to 'gtk/gtkcontainer.c')
-rw-r--r--gtk/gtkcontainer.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/gtk/gtkcontainer.c b/gtk/gtkcontainer.c
index af6f96cac3..5cf5238e2b 100644
--- a/gtk/gtkcontainer.c
+++ b/gtk/gtkcontainer.c
@@ -299,8 +299,8 @@ gtk_container_border_width (GtkContainer *container,
{
container->border_width = border_width;
- if (container->widget.parent && GTK_WIDGET_VISIBLE (container))
- gtk_container_need_resize (GTK_CONTAINER (container->widget.parent));
+ if (GTK_WIDGET_REALIZED (container))
+ gtk_widget_queue_resize (GTK_WIDGET (container));
}
}