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:

committed by
Aleksander Morgado

parent
0c1ad4eb77
commit
42048cb2fc
@@ -147,9 +147,7 @@ deps = [
|
|||||||
]
|
]
|
||||||
|
|
||||||
c_args = [
|
c_args = [
|
||||||
# In 2.46, g_simple_async_* calls. Disable deprecations from then on
|
'-DGLIB_VERSION_MIN_REQUIRED=GLIB_VERSION_' + glib_version.underscorify(),
|
||||||
# until everything is ported to GTask.
|
|
||||||
'-DGLIB_VERSION_MIN_REQUIRED=GLIB_VERSION_2_44',
|
|
||||||
'-DGLIB_VERSION_MAX_ALLOWED=GLIB_VERSION_' + glib_version.underscorify(),
|
'-DGLIB_VERSION_MAX_ALLOWED=GLIB_VERSION_' + glib_version.underscorify(),
|
||||||
]
|
]
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user