There is an explicit check for the version
---
server/tests/test-codecs-parsing.c | 2 ++
1 file changed, 2 insertions(+)
diff --git a/server/tests/test-codecs-parsing.c
b/server/tests/test-codecs-parsing.c
index 0e23553b..c1b3276d 100644
--- a/server/tests/test-codecs-parsing.c
+++ b/server/tests/test-codecs-parsing.c
@@ -54,6 +54,7 @@ static void codecs_good(void)
/* g_test_expect_message is available since Glib 2.34 */
#if GLIB_CHECK_VERSION(2, 34, 0)
+G_GNUC_BEGIN_IGNORE_DEPRECATIONS
static void codecs_bad(void)
{
guint i;
@@ -116,6 +117,7 @@ static void codecs_bad(void)
spice_server_destroy(server);
}
+G_GNUC_END_IGNORE_DEPRECATIONS
#endif
int main(int argc, char *argv[])
--
2.11.0
_______________________________________________
Spice-devel mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/spice-devel