Add g_type_init() back, it's deprecated in newer GLib releases but Jolla has an older GLib currently