Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Replace more deprecated features from GTK 1 #234

Merged
merged 30 commits into from
Nov 9, 2024

Conversation

zturtleman
Copy link
Contributor

@zturtleman zturtleman commented Nov 8, 2024

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
Copy link
Member

Thank you very much! ❤️

@illwieckz
Copy link
Member

It works well on my end!

@illwieckz illwieckz merged commit 6889455 into XQF:master Nov 9, 2024
2 checks passed
@zturtleman zturtleman deleted the gtk2_update branch November 9, 2024 20:40
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants