On Wed, May 21, 2014, at 09:39 AM, Tomasz Boczkowski wrote:
3) What is the proper macro to differentiate between gtk versions? GTK_CHECK_VERSION(3,0,0) or WITH_GTKMM_3_0?
 
 
 
WITH_GTKMM_3_0 is an autoconf variable that is set up during configuration of a build and signifies a user's desire to use (or not) the newer version of Gtk. It can be checked in code that includes config.h.
 
GTK_CHECK_VERSION(3,0,0) is the macro provided by Gtk itself, and is not tied directly to a build/configuration system. For most cases for "Gtk 2.x code vs Gtk 3.x code" this would be the preferred macro to use.
 
--
Jon A. Cruz
jon@...18...