Bill Pringlemeir wrote: >>> I have GTK2 2.2.4. I am compiling from anon cvs...
>>> The type "GtkComboBox" is undefined when I try to compile. Also, >>> I have a gtkcombo.h with GTK_COMBO(obj), but I can not find a >>> GTK_COMBO_BOX() macro. If I modify the function as above, I have >>> linker errors.... Christian Biere wrote: >> GtkComboBox is internally completely different from GtkCombo also >> it's the same thing on the surface. GtkCombo is a deprecated widget >> type because it uses an old Gtk+ 1.2 widget internally. Christian Biere wrote: > I've replaced the GtkComboBox with the deprecated GtkCombo. So > it should compile with 2.2.4 again. I changed setting.c to this, [EMAIL PROTECTED] gtk]$ cvs diff settings.c Index: settings.c =================================================================== RCS file: /cvsroot/gtk-gnutella/gtk-gnutella-current/src/ui/gtk/settings.c,v retrieving revision 1.68 diff -r1.68 settings.c 2870c2870 < #if GTK_CHECK_VERSION(2, 0, 0) --- > #if 0 /* GTK_CHECK_VERSION(2, 0, 0) */ The conditional code doesn't seem to do anything [except require GTK_IS_COMBO_BOX()]. Maybe this is anon CVS lag? There may be much smarter ways to fix this. However, with this change to anon cvs, GTKG compiles and runs fine with GTK 2.2.4 for me. I would like to upgrade GTK. However, I might like to stick with 2.2.4 until the release of 0.9.6 so that that you have someone testing older versions. I think this release was "scheduled" for December? You provided many good technical reasons [esp. the OpenGL acceleration] to update GTK. I also understand that it is very nice to use new features in a tool kit from a code perspective (and backwards compatibility is "backwards"). By forcing these antiquated features, people with newer GTK libraries won't benefit... I would switch to a newer version if I knew I was the only one using an older GTK with GTKG. Regards, Bill Pringlemeir. ------------------------------------------------------- This SF.Net email is sponsored by the JBoss Inc. Get Certified Today * Register for a JBoss Training Course Free Certification Exam for All Training Attendees Through End of 2005 Visit http://www.jboss.com/services/certification for more information _______________________________________________ Gtk-gnutella-devel mailing list Gtk-gnutella-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/gtk-gnutella-devel