diff options
author | Lubomir Rintel <lkundrak@v3.sk> | 2023-01-20 14:56:43 +0100 |
---|---|---|
committer | Aleksander Morgado <aleksander@aleksander.es> | 2023-04-11 13:49:03 +0000 |
commit | 42048cb2fc441f738e697247cbafb7b49d4de498 (patch) | |
tree | aab84c158b81223119d4211aff8f19389bed05be /meson.build | |
parent | 0c1ad4eb77fc435920edc07905f6340b976621e2 (diff) |
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.
Diffstat (limited to 'meson.build')
-rw-r--r-- | meson.build | 4 |
1 files changed, 1 insertions, 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(), ] |