Mainly to avoid deprecation warnings about g_type_init(). --- configure.ac | 2 ++ 1 files changed, 2 insertions(+), 0 deletions(-)
Created attachment 77826 [details] [review] 0001-configure-Specify-GLib-min-max-version.patch
I'd prefer (untested!) AC_DEFINE([GLIB_VERSION_MIN_REQUIRED], [GLIB_VERSION_2_30], [Avoid warning spew about g_type_init() being deprecated]) AC_DEFINE([GLIB_VERSION_MAX_ALLOWED] [G_ENCODE_VERSION(2,34)], [Notify us when we'll need to transition away from g_type_init()]) or something like that; this will put the definition in <config.h> instead of every line of the detailed build log.
Created attachment 77893 [details] [review] 0001-configure-Specify-GLib-min-max-version.patch Now using AC_DEFINE. Note to make this work we need to #include "config.h" first thing.
Created attachment 77906 [details] [review] Tested patch
(In reply to comment #3) > Created attachment 77893 [details] [review] [review] > 0001-configure-Specify-GLib-min-max-version.patch > > Now using AC_DEFINE. > > Note to make this work we need to #include "config.h" first thing. ACK, thanks.
Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.