tDisable GTK+3 deprecation warnings - vaccinewars - be a doctor and try to vaccinate the world
(HTM) git clone git://src.adamsgaard.dk/vaccinewars
(DIR) Log
(DIR) Files
(DIR) Refs
(DIR) README
(DIR) LICENSE
---
(DIR) commit d234cb9d078159ce07700514db517da5b773588e
(DIR) parent d18cc44837c67fb06873b5946f79595fa36b292a
(HTM) Author: Ben Webb <ben@salilab.org>
Date: Thu, 3 Dec 2020 00:25:03 -0800
Disable GTK+3 deprecation warnings
Diffstat:
M configure.ac | 5 +++++
1 file changed, 5 insertions(+), 0 deletions(-)
---
(DIR) diff --git a/configure.ac b/configure.ac
t@@ -176,6 +176,11 @@ else
gtk3_found="no"
if test "$USE_GTK3" = "yes" ; then
PKG_CHECK_MODULES([GTK], [gtk+-3.0], gtk3_found="yes", gtk3_found="no")
+ if test "$gtk3_found" = "yes" ; then
+ # We use GtkTable a lot so don't clutter the compiler output with
+ # recommendations to use GtkGrid instead
+ CPPFLAGS="$CPPFLAGS -DGDK_DISABLE_DEPRECATION_WARNINGS"
+ fi
fi
if test "$gtk3_found" = "no" ; then
AM_PATH_GTK_2_0(2.0.0,gtk2_found="yes",gtk2_found="no")