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.
This commit is contained in:
Lubomir Rintel
2023-04-11 13:49:03 +00:00
committed by Aleksander Morgado
parent 0c1ad4eb77
commit 42048cb2fc
+1 -3
View File
@@ -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(),
]