If you call gtk_widget_set_parent on an unsuspecting parent widget, it is your reponsibility to clean up before the parent gets finalized.
If you call gtk_widget_set_parent on an unsuspecting parent widget, it is your reponsibility to clean up before the parent gets finalized.