Replace use of deprecated gtk_widget_reparent()