antoyo / relm

Idiomatic, GTK+-based, GUI library, inspired by Elm, written in Rust
MIT License
2.43k stars 78 forks source link

use glib::timeout_add_local instead of deprecaed gtk::timout_add #250

Closed zzeroo closed 3 years ago

zzeroo commented 3 years ago

While trying to reproduce the error you mentioned in #247, I trigger another error about the soon deprecated gtk::timout_add. This commit fixes that error. On my systems (arch and debian, this commit is backward compatible, hope the CI shows that). I don't found the file you mentioned in #247 maybe you mixed up this repo with https://github.com/antoyo/statusbar.git ^^ IMO this issue can be closed.

antoyo commented 3 years ago

Thanks. The issue #247 can be reproduced by compiling mg, so it's not fixed by this PR.