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

Draft: Update to gtk-rs 0.8 #206

Closed
wants to merge 1 commit into from
Closed

Conversation

jbicha
Copy link
Contributor

@jbicha jbicha commented Apr 21, 2024

I did the first few steps in porting to gtk-rs 0.8 (associated with GNOME 46).

A major change is that glib has dropped the MainContext channel and you're expected to use async channels instead. I did not implement that although I updated cargo to include the likely crate you'd want to use for it.

@jbicha
Copy link
Contributor Author

jbicha commented Apr 21, 2024

@GuillaumeGomez
Copy link
Owner

Why not use channel from std instead?

@jbicha
Copy link
Contributor Author

jbicha commented Apr 21, 2024

You're welcome to try that instead. I haven't done enough Rust programming to have a good sense of how to port this app this time.

@GuillaumeGomez
Copy link
Owner

I'll do the update of gtk4 and of sysinfo while being at it. I'm curious: you use this app often?

@jbicha
Copy link
Contributor Author

jbicha commented Apr 21, 2024

Sorry, I don't use the app. It is packaged in Debian (and Ubuntu) and we try to keep apps buildable when we update the Rust crates.

@GuillaumeGomez
Copy link
Owner

Interesting. I'll try to update it as soon as possible.

@GuillaumeGomez
Copy link
Owner

Done in #207. I'll make a new release shortly.

@jbicha jbicha deleted the gnome46 branch April 21, 2024 21:56
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