From 42048cb2fc441f738e697247cbafb7b49d4de498 Mon Sep 17 00:00:00 2001 From: Lubomir Rintel Date: Fri, 20 Jan 2023 14:56:43 +0100 Subject: [PATCH] build: align GLIB_VERSION_MIN_REQUIRED with glib version we actually require Now that we've dealt with everything that has been deprecated since glib-2.44 until glib-2.56 (which we check), we can enable warnings that guard against using the deprecated constructs. --- meson.build | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/meson.build b/meson.build index 96c21c57..d7085f92 100644 --- a/meson.build +++ b/meson.build @@ -147,9 +147,7 @@ deps = [ ] c_args = [ - # In 2.46, g_simple_async_* calls. Disable deprecations from then on - # until everything is ported to GTask. - '-DGLIB_VERSION_MIN_REQUIRED=GLIB_VERSION_2_44', + '-DGLIB_VERSION_MIN_REQUIRED=GLIB_VERSION_' + glib_version.underscorify(), '-DGLIB_VERSION_MAX_ALLOWED=GLIB_VERSION_' + glib_version.underscorify(), ]