]> asedeno.scripts.mit.edu Git - PuTTY.git/commitdiff
Turn GTK3 deprecation warnings back on.
authorSimon Tatham <anakin@pobox.com>
Tue, 25 Aug 2015 18:59:45 +0000 (19:59 +0100)
committerSimon Tatham <anakin@pobox.com>
Tue, 25 Aug 2015 19:00:59 +0000 (20:00 +0100)
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

index b6e431646dbaf398605c38d1f76afb995814b0dd..f1bff9552851907993dac19c9572e4b146cece33 100644 (file)
@@ -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 <<EOF
 
 PuTTY will be built with GTK 3. Be aware that the GTK 3 support in
-this codebase is UNFINISHED AND EXPERIMENTAL! Many deprecated
-functions are used, and there are known layout bugs.
+this codebase is UNFINISHED AND EXPERIMENTAL!
 
 EOF
 fi