Remove erroneously added g_return_if_fail (bug #541811).
2008-07-07 Christian Dywan <christian@imendio.com> * gtk/gtkcontainer.c (gtk_container_add_with_properties): Remove erroneously added g_return_if_fail (bug #541811). svn path=/trunk/; revision=20792
This commit is contained in:
committed by
Paul Pogonyshev
parent
75c668dbf2
commit
bb396a07b2
@ -819,7 +819,6 @@ gtk_container_add_with_properties (GtkContainer *container,
|
||||
g_return_if_fail (GTK_IS_CONTAINER (container));
|
||||
g_return_if_fail (GTK_IS_WIDGET (widget));
|
||||
g_return_if_fail (widget->parent == NULL);
|
||||
g_return_if_fail (widget->parent == container);
|
||||
|
||||
g_object_ref (container);
|
||||
g_object_ref (widget);
|
||||
|
||||
Reference in New Issue
Block a user