Source compiling for gtk+ 2.2 and 2.4
- From: antongiulio <antongiulio email it>
- To: gtk-list gnome org
- Subject: Source compiling for gtk+ 2.2 and 2.4
- Date: Sat, 11 Dec 2004 14:42:21 +0100
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
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]