gtk+-2.0, gtk+-3.0: Make Widget.get/set_parent compatible with its property