Compile time GTK+ 3 version check



Hi All,

        I want to port my application to GTK+ 3, but I don't want to broke
with GTK+ 2 API and ABI, what is the best way to determine GTK+ 3 version in 
compile time?

Does

#if GTK_MAJOR_VERSION == 3

enough for it?

Thanks,

        Ardhan


_____________________________________________________________
Listen to KNAC, Hit the Home page and Tune In Live! ---> http://www.knac.com



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]