From 54dcfb033c13fd56faa077520d425b1704c80fce Mon Sep 17 00:00:00 2001 From: Simon Tatham Date: Tue, 25 Aug 2015 19:59:45 +0100 Subject: [PATCH] Turn GTK3 deprecation warnings back on. After the last few commits, we now compile cleanly against GTK3 even without -Wno-deprecated-declarations, so let's turn the default warnings back on to ensure we don't regress that. --- configure.ac | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/configure.ac b/configure.ac index b6e43164..f1bff955 100644 --- a/configure.ac +++ b/configure.ac @@ -93,10 +93,7 @@ esac case "$gtk_version_desired:$gtk" in 3:none | any:none) ifdef([AM_PATH_GTK_3_0],[ - AM_PATH_GTK_3_0([3.0.0], [ - gtk=3 - GTK_CFLAGS="$GTK_CFLAGS -Wno-deprecated-declarations" - ], []) + AM_PATH_GTK_3_0([3.0.0], [gtk=3], []) ],[AC_WARNING([generating configure script without GTK 3 autodetection])]) ;; esac @@ -201,8 +198,7 @@ EOF elif test "$gtk" = "3"; then cat <