https://gcc.gnu.org/bugzilla/show_bug.cgi?id=124837
--- Comment #1 from Drea Pinski <pinskia at gcc dot gnu.org> --- g_variant_type_string_is_valid being marked as const might be ok, but it has a write but that is all local. It is definitely related to the issue here i think.
