Hi,

in my little app I have used 'gtkcombobox' widget. In a system with gtk+ 2.4.x 
installed, it works, but in system with gtk+ =< 2.2 I got errors on compiling.

Since v2.4 GtkComboBox has replaced 'deprecated' GtkOptionMenu. Is there a way 
to compile both version of gtk+ library?

I thought to use:

#ifdef any_macro_for_gtk_version
gtkcombobox
#else
gtkoptionmenu
#endif

Could be it good? Eventually, what is right macro to use?

Thanks
Giulio
 
 
 --
 Email.it, the professional e-mail, gratis per te: http://www.email.it/f
 
 Sponsor:
 Vuoi dimagrire oppure aumentare la massa muscolare o donare tonicità alla tua 
pelle? Qualunque sia il tuo obiettivo Oliviero.it ti propone dei pacchetti 
integratori personalizzati.
* 
 Clicca qui: http://adv.email.it/cgi-bin/foclick.cgi?mid=2847&d=11-12
_______________________________________________
gtk-list mailing list
[EMAIL PROTECTED]
http://mail.gnome.org/mailman/listinfo/gtk-list

Reply via email to