Bill Pringlemeir wrote:
> 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.

I added this because I wanted to replace all other GtkCombo widgets
later as well. I didn't revert any files to the old revisions
because I saw that I could merge some when switching back to
GtkCombo. I've removed this artifact too now.

> However, with this change to anon cvs, GTKG
> compiles and runs fine with GTK 2.2.4 for me.

Thanks for confirming this.

> 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.

That's really appreciated. I'm spending so much time compiling it
would really suck if I constantly had to check older Gtk+ versions
myself.

> 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...

Well, it would be ridiculous to write portable code but require the
newest version of some library. So a certain amount of backwards
compatibility is surely reasonable. I believe the performance of
Gtk+ has definititely been increase since 2.2.4 anyway and that
doesn't require any change in our code and users benefit from this
automagically. Many new functions in newer Gtk+ versions are
"sugar" anyway. Sometimes it's also better to stay away from them
because they have horrible performance compared to an own
specialised variant. Consider copying and returning a list instead
of just walking it. The former allows a little simpler code of
course and in some cases that's more important than performance.

Also since we maintain compatibility with Gtk+ 1.2, adding some
feature to the GTK2 frontend more or less requires adding the
same to GTK1 too and that's really too annoying and too much
work in some cases. So we'll be fairly conservative about the
GUI features.

For example, the file selection dialogs should be replaced with
something better because those are just horrible. Gtk+ 2.x has
new widgets for this (similar to the Java Swing stuff) in recent
versions but then the GTK1 would still have the old dialogs.

-- 
Christian

Attachment: pgppJasNu4yF7.pgp
Description: PGP signature

Reply via email to