Commit 0e90efd5 authored by Simon McVittie's avatar Simon McVittie

Don't warn for functions deprecated since GLib 2.26

Also warn if we inadvertently use a function introduced since then.
Signed-off-by: default avatarSimon McVittie <simon.mcvittie@collabora.co.uk>
Bug: https://bugs.freedesktop.org/show_bug.cgi?id=59971Reviewed-by: Colin Walters's avatarColin Walters <walters@verbum.org>
parent 0ebd4ae9
...@@ -211,6 +211,9 @@ fi ...@@ -211,6 +211,9 @@ fi
# default (unless you don't have GLib), because they don't bloat the library # default (unless you don't have GLib), because they don't bloat the library
# or binaries. # or binaries.
AC_DEFINE([GLIB_VERSION_MIN_REQUIRED], [GLIB_VERSION_2_26], [Ignore post-2.26 deprecations])
AC_DEFINE([GLIB_VERSION_MAX_ALLOWED], [GLIB_VERSION_2_26], [Prevent post-2.26 APIs])
with_glib=yes with_glib=yes
if test "x$enable_modular_tests" != xno; then if test "x$enable_modular_tests" != xno; then
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment