gtk_container_remove



does gtk_container_remove destroy the widget that is being removed?

In my program, I have a 

gtk_container_remove(container, widget);
gtk_widget_destroy(widget);

but each time, gtk_widget_destroy complains that assertion
GTK_IS_WIDGET(widget) fails.  What is gtk_container_remove doing that
causes this?

thanks
-Ron

btw, tristan, thanks for the pointer to gtk_container_remove.  Except
for the above, it works beautifully.



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]