Skip to content
Snippets Groups Projects
Commit b0fbd247 authored by Henrik (Grubba) Grubbström's avatar Henrik (Grubba) Grubbström
Browse files

GTK2: Inhibit warnings from glib 2.36 and later.

glib 2.36 deprecated some stuff that the gtk-2 headerfiles use.
So set GLIB_VERSION_MIN_REQUIRED to a version prior to
GLIB_VERSION_2_36 to inhibit the deprecation warnings.
parent d3585f93
No related branches found
No related tags found
No related merge requests found
......@@ -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
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment