mirror of
https://gitlab.freedesktop.org/dbus/dbus.git
synced 2026-05-05 00:37:59 +02:00
Don't warn for functions deprecated since GLib 2.26
Also warn if we inadvertently use a function introduced since then. Signed-off-by: Simon McVittie <simon.mcvittie@collabora.co.uk> Bug: https://bugs.freedesktop.org/show_bug.cgi?id=59971 Reviewed-by: Colin Walters <walters@verbum.org>
This commit is contained in:
parent
02be6d0553
commit
c052230fff
1 changed files with 3 additions and 0 deletions
|
|
@ -212,6 +212,9 @@ fi
|
|||
# default (unless you don't have GLib), because they don't bloat the library
|
||||
# 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
|
||||
|
||||
if test "x$enable_modular_tests" != xno; then
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue