mirror of
https://git.tartarus.org/simon/putty.git
synced 2025-01-10 09:58:01 +00:00
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.
This commit is contained in:
parent
856a0ecc4a
commit
54dcfb033c
@ -93,10 +93,7 @@ esac
|
|||||||
case "$gtk_version_desired:$gtk" in
|
case "$gtk_version_desired:$gtk" in
|
||||||
3:none | any:none)
|
3:none | any:none)
|
||||||
ifdef([AM_PATH_GTK_3_0],[
|
ifdef([AM_PATH_GTK_3_0],[
|
||||||
AM_PATH_GTK_3_0([3.0.0], [
|
AM_PATH_GTK_3_0([3.0.0], [gtk=3], [])
|
||||||
gtk=3
|
|
||||||
GTK_CFLAGS="$GTK_CFLAGS -Wno-deprecated-declarations"
|
|
||||||
], [])
|
|
||||||
],[AC_WARNING([generating configure script without GTK 3 autodetection])])
|
],[AC_WARNING([generating configure script without GTK 3 autodetection])])
|
||||||
;;
|
;;
|
||||||
esac
|
esac
|
||||||
@ -201,8 +198,7 @@ EOF
|
|||||||
elif test "$gtk" = "3"; then cat <<EOF
|
elif test "$gtk" = "3"; then cat <<EOF
|
||||||
|
|
||||||
PuTTY will be built with GTK 3. Be aware that the GTK 3 support in
|
PuTTY will be built with GTK 3. Be aware that the GTK 3 support in
|
||||||
this codebase is UNFINISHED AND EXPERIMENTAL! Many deprecated
|
this codebase is UNFINISHED AND EXPERIMENTAL!
|
||||||
functions are used, and there are known layout bugs.
|
|
||||||
|
|
||||||
EOF
|
EOF
|
||||||
fi
|
fi
|
||||||
|
Loading…
Reference in New Issue
Block a user