g_variant_new_from_bytes() is itself only available since 2.36, thus using it triggers a deprecation warning itself.