Introduction
Introduction Statistics Contact Development Disclaimer Help
tDisable GTK+3 deprecation warnings - vaccinewars - be a doctor and try to vacc…
git clone git://src.adamsgaard.dk/vaccinewars
Log
Files
Refs
README
LICENSE
---
commit d234cb9d078159ce07700514db517da5b773588e
parent d18cc44837c67fb06873b5946f79595fa36b292a
Author: Ben Webb <[email protected]>
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(-)
---
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")
You are viewing proxied material from mx1.adamsgaard.dk. The copyright of proxied material belongs to its original authors. Any comments or complaints in relation to proxied material should be directed to the original authors of the content concerned. Please see the disclaimer for more details.