if(child->widget == child_widget) { gtk_widget_unparent(child_widget); }
moz_container_remove (GtkContainer *container, GtkWidget *child_widget){    MozContainerChild *child;    MozContainer *moz_container;    GList *tmp_list;    g_return_if_fail (IS_MOZ_CONTAINER(container));    g_return_if_fail (GTK_IS_WIDGET(child_widget));    moz_container = MOZ_CONTAINER(container);    child = moz_container_get_child (moz_container, child_widget);    g_return_if_fail (child);    moz_container->children = g_list_remove(moz_container->children, child);    g_free(child);}