Don't directly include GTK+ semi-public headers.

Only the main headers (e.g. gtk/gtk.h) should be included and GTK+ 3 is strict about this. Enable compile-time checks for this that work with GTK+ 2.24.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@67137 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Václav Slavík
2011-03-06 18:22:28 +00:00
parent 14b44999eb
commit adc620811a
9 changed files with 13 additions and 9 deletions

3
configure vendored
View File

@@ -30954,6 +30954,9 @@ done
TOOLKIT_INCLUDE="$TOOLKIT_INCLUDE -DG_DISABLE_CAST_CHECKS"
GTK_CHECKS_FLAGS="-DGTK_DISABLE_SINGLE_INCLUDES"
TOOLKIT_INCLUDE="$TOOLKIT_INCLUDE $GTK_CHECKS_FLAGS"
AFMINSTALL=afminstall
TOOLKIT=GTK
GUIDIST=GTK_DIST