Add version check for gtk+ and require gtk+ 3.10 and above and ignore gtk+ 2.