Fix g_type_init call.