Bug 1653950 - Bump glib version requirement. r=karlt

We already inherit a minimum version of 2.41.2 through GTK 3.14.
This silences some build warnings.

Differential Revision: https://phabricator.services.mozilla.com/D84578
This commit is contained in:
Robert Mader 2020-07-24 09:11:59 +00:00
parent 6a84b45b18
commit c5a05df5d3

View File

@ -49,10 +49,9 @@ MOZPNG=10635
dnl Set the minimum version of toolkit libs used by mozilla
dnl ========================================================
GLIB_VERSION=2.22
# 2_26 is the earliest version we can set GLIB_VERSION_MIN_REQUIRED.
# The macro won't be used when compiling with earlier versions anyway.
GLIB_VERSION_MIN_REQUIRED=GLIB_VERSION_2_26
GLIB_VERSION=2.42
GLIB_VERSION_MIN_REQUIRED=GLIB_VERSION_2_42
GLIB_VERSION_MAX_ALLOWED=GLIB_VERSION_2_42
CAIRO_VERSION=1.10
GTK2_VERSION=2.18.0
GTK3_VERSION=3.14.0
@ -1640,7 +1639,6 @@ if test "$COMPILE_ENVIRONMENT"; then
dnl GDK_VERSION_MIN_REQUIRED is not set here as GDK3 deprecated warnings
dnl are suppressed by widget/gtk/compat-gtk3/gdk/gdkversionmacros.h.
AC_DEFINE_UNQUOTED(GDK_VERSION_MAX_ALLOWED,$GDK_VERSION_MAX_ALLOWED)
GLIB_VERSION_MAX_ALLOWED=GLIB_VERSION_2_32
fi
if test "$MOZ_ENABLE_GTK"; then
if test "$MOZ_X11"; then