Re: GTK version check defines



On Tue, 2008-12-16 at 12:32 -0200, Luiz Rafael Culik Guimaraes wrote:
> Dear Friends
> 
> is their any define for gtk version
> example
> #if __GTK__ > 2.6
> do something
> #else
> do otherthing
> #endif

Use GTK_CHECK_VERSION(major,minor,micro)

Claudio




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