summaryrefslogtreecommitdiff
path: root/gtk/gtkcontainer.c
diff options
context:
space:
mode:
authorTim Janik <timj@gtk.org>1998-11-23 04:32:04 +0000
committerTim Janik <timj@src.gnome.org>1998-11-23 04:32:04 +0000
commitb9017e53a240e8b89b9d0a643f49d6521a4a3283 (patch)
treeea1e9380cdcc6af52c60206ac54e5a1f7c189f4d /gtk/gtkcontainer.c
parent72149265a32d0979a140c4b245ecf4946b989976 (diff)
downloadgtk+-b9017e53a240e8b89b9d0a643f49d6521a4a3283.tar.gz
removed assertements for constructed containers again, since this
Mon Nov 23 05:21:50 1998 Tim Janik <timj@gtk.org> * gtk/gtkcontainer.c: (gtk_container_add_with_args): (gtk_container_addv): (gtk_container_add): removed assertements for constructed containers again, since this essentially breaks the "child" arg. * gtk/gtktooltips.c (gtk_tooltips_force_window): fixup the draw_window reference count, we don't need to reference toplevels that already have destroy notifiers. * gtk/gtkscrolledwindow.c: check for the composites existance in _forall since we might not be already constructed.
Diffstat (limited to 'gtk/gtkcontainer.c')
-rw-r--r--gtk/gtkcontainer.c3
1 files changed, 0 insertions, 3 deletions
diff --git a/gtk/gtkcontainer.c b/gtk/gtkcontainer.c
index 881471ca7d..c78c160a6b 100644
--- a/gtk/gtkcontainer.c
+++ b/gtk/gtkcontainer.c
@@ -248,7 +248,6 @@ gtk_container_add_with_args (GtkContainer *container,
g_return_if_fail (widget != NULL);
g_return_if_fail (GTK_IS_WIDGET (widget));
g_return_if_fail (widget->parent == NULL);
- g_return_if_fail (GTK_OBJECT_CONSTRUCTED (container) == TRUE);
gtk_widget_ref (GTK_WIDGET (container));
gtk_widget_ref (widget);
@@ -307,7 +306,6 @@ gtk_container_addv (GtkContainer *container,
g_return_if_fail (widget != NULL);
g_return_if_fail (GTK_IS_WIDGET (widget));
g_return_if_fail (widget->parent == NULL);
- g_return_if_fail (GTK_OBJECT_CONSTRUCTED (container) == TRUE);
gtk_widget_ref (GTK_WIDGET (container));
gtk_widget_ref (widget);
@@ -692,7 +690,6 @@ gtk_container_add (GtkContainer *container,
g_return_if_fail (widget != NULL);
g_return_if_fail (GTK_IS_WIDGET (widget));
g_return_if_fail (widget->parent == NULL);
- g_return_if_fail (GTK_OBJECT_CONSTRUCTED (container) == TRUE);
gtk_signal_emit (GTK_OBJECT (container), container_signals[ADD], widget);
}