Use GTK_VERSION_MAJOR to switch between GTK+ version two and three
authorTony <exocoder@gmail.com>
Mon, 31 Mar 2014 21:05:09 +0000 (22:05 +0100)
committerTony <exocoder@gmail.com>
Sun, 13 Apr 2014 10:04:56 +0000 (11:04 +0100)
commit16383412703ccb2fcf1e94529faf3ef9fea8156a
treeab8d8427dca2e4861509a17308d5bf7f9dfcdd48
parentbefdef9685e1d3d142ecc55de02c940f486fd53c
Use GTK_VERSION_MAJOR to switch between  GTK+ version two and three
specific code. As a result of this, HAVE_GTK3 no longer needs to be
exposed.

The use of HAVE_GTK, and HAVE_ GTK3 have been changed to mirror the
method used by HAVE_QT and HAVE_QT5.
 On branch gtk3
 Changes to be committed:
        modified:   CMakeLists.txt
        modified:   cmake/OpenCVFindLibsGUI.cmake
        modified:   cmake/templates/cvconfig.h.in
        modified:   modules/highgui/src/window.cpp
        modified:   modules/highgui/src/window_gtk.cpp
CMakeLists.txt
cmake/OpenCVFindLibsGUI.cmake
cmake/templates/cvconfig.h.in
modules/highgui/src/window.cpp
modules/highgui/src/window_gtk.cpp