tReenable deprecation warnings with GTK3 - vaccinewars - be a doctor and try to vaccinate the world
HTML git clone git://src.adamsgaard.dk/vaccinewars
DIR Log
DIR Files
DIR Refs
DIR README
DIR LICENSE
---
DIR commit 451a8f6cb566edc05cf324ed9199ed121eaa6f18
DIR parent 696618c1aea3a0e97fbb00051dfdaca143df93da
HTML Author: Ben Webb <ben@salilab.org>
Date: Thu, 31 Dec 2020 18:00:57 -0800
Reenable deprecation warnings with GTK3
We previously had to turn deprecation warnings
off because our use of GtkTable caused far too
many warnings. Now that we use GtkGrid we
can reenable these warnings so that we can focus
on the remaining deprecated functions.
Diffstat:
M configure.ac | 5 -----
1 file changed, 0 insertions(+), 5 deletions(-)
---
DIR diff --git a/configure.ac b/configure.ac
t@@ -186,11 +186,6 @@ 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")