diff --git a/src/post_modules/GTK2/configure.in b/src/post_modules/GTK2/configure.in index a16a3f1844b6949157186211145fb0b67cb971ae..b40b0184b84955c0a8e24eb50adddfce8c5cebe9 100644 --- a/src/post_modules/GTK2/configure.in +++ b/src/post_modules/GTK2/configure.in @@ -18,6 +18,14 @@ dnl AC_DEFINE(HAVE_GNOME) dnl AC_DEFINE(HAVE_DPMS) dnl AC_DEFINE(PGTK_AUTO_UTF8) +# Inhibit deprecation warnings about GTK2 using deprecated APIs in glib-2.0. +# +# NB: Any glib version prior to 2.36 should do, but we do not +# want to cause issues if the version of glib actually is +# older than 2.36, so select the oldest still supported. +AC_DEFINE(GLIB_VERSION_MIN_REQUIRED, GLIB_VERSION_2_26, + [Define to something prior to 2.36 to inhibit deprecation warnings from glib.]) + AC_DEFINE(FUNCPROTO) AC_HEADER_STDC