]> git.ipfire.org Git - thirdparty/dbus.git/commitdiff
Opt-in to deprecation warnings for GLib 2.38 and 2.40
authorSimon McVittie <smcv@collabora.com>
Fri, 9 Jun 2017 13:56:16 +0000 (14:56 +0100)
committerSimon McVittie <smcv@collabora.com>
Mon, 12 Jun 2017 10:42:38 +0000 (11:42 +0100)
Now that g_test_trap_fork() has gone, we no longer have any calls to
GLib functions deprecated in or before 2.40.

Signed-off-by: Simon McVittie <smcv@collabora.com>
Reviewed-by: Philip Withnall <withnall@endlessm.com>
Bug: https://bugs.freedesktop.org/show_bug.cgi?id=101362

configure.ac

index dcfcb4e81975a0eeca8ad88cc62e1b7e1680185d..1561c94181b3381f354d558f45db87f753322548 100644 (file)
@@ -262,7 +262,7 @@ 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_36], [Ignore post-2.36 deprecations])
+AC_DEFINE([GLIB_VERSION_MIN_REQUIRED], [GLIB_VERSION_2_40], [Ignore post-2.40 deprecations])
 AC_DEFINE([GLIB_VERSION_MAX_ALLOWED], [GLIB_VERSION_2_40], [Prevent post-2.40 APIs])
 
 with_glib=yes