Issue #366

Reverted from commit 53212b0 (back to the gtk_widget_reparent function)