tReenable deprecation warnings with GTK3 - vaccinewars - be a doctor and try to… | |
git clone git://src.adamsgaard.dk/vaccinewars | |
Log | |
Files | |
Refs | |
README | |
LICENSE | |
--- | |
commit 451a8f6cb566edc05cf324ed9199ed121eaa6f18 | |
parent 696618c1aea3a0e97fbb00051dfdaca143df93da | |
Author: Ben Webb <[email protected]> | |
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(-) | |
--- | |
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="n… | |
- 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") |