Changing constructor of the Glib