Update to the new GLib init API