gtk-rs / gtk-rs-core

Rust bindings for GNOME libraries
https://gtk-rs.org/gtk-rs-core
MIT License
293 stars 115 forks source link

[HELP] glib::MainContext::channel removal missing from changelog #1467

Closed kpcyrd closed 3 months ago

kpcyrd commented 3 months ago

Hello! :) I'm trying to port an application from glib 0.14 to 0.20 and noticed glib::MainContext::channel doesn't exist anymore, but it's mot obvious how to rewrite my application to make it work again. Do you have any pointers? :)

fyi I also noticed https://crates.io/crates/libappindicator points to the gtk-rs github org, but I couldn't find it's git repository unfortunately.

The code I'm trying to port is on github:

https://github.com/kpcyrd/arch-audit-gtk/blob/391bd91795ac50d8a0f8bbd3ff3b3797099cd3ad/src/gui.rs#L141

sdroege commented 3 months ago

See https://gtk-rs.org/blog/2024/06/01/new-release.html#removal-of-glib-channels