XQF / xqf

XQF game server browser
http://xqf.github.io
GNU General Public License v2.0
37 stars 12 forks source link

Replace more deprecated features from GTK 1 #234

Closed zturtleman closed 3 weeks ago

zturtleman commented 3 weeks ago

In an effort to try to get XQF working on GTK 3, I updated a lot of code from GTK 1 to GTK 2 which is also compatible with GTK 3.

I mainly worked on this in July 2023. I think the only things left to change for GTK 3 are combo boxes (gtk_combo), gtk_option_menu, list/column views (gtk_ctree/gtk_clist), and GdkPixmap/GdkBitmap. This is kind of the majority of the interface and inconveniently GTK 2/3/4 all have different ways of handling them. Though jumping to GTK 4 has more issues.

A lot of this is based on the guides for GTK Changes from 1.0 to 1.2 and GTK Changes from 1.2 to 2.0. The website is not online as of writing and archive.org doesn't have it. I also checked things in the GTK 2 source for how these legacy GTK 1 features are handled.

illwieckz commented 3 weeks ago

Thank you very much! ❤️

illwieckz commented 3 weeks ago

It works well on my end!