Hi All,

What is the best way to determine GTK+ 3 version in compile time?

Does 

...

#if GTK_MAJOR_VERSION == 3

...

enough for this?, Because I want this code should compiled also 
in GTK+ 2 environment.

Thanks,

        Ardhan


_____________________________________________________________
Listen to KNAC, Hit the Home page and Tune In Live! ---> http://www.knac.com
_______________________________________________
gtk-app-devel-list mailing list
gtk-app-devel-list@gnome.org
http://mail.gnome.org/mailman/listinfo/gtk-app-devel-list

Reply via email to