cargo: Use gtk-rs master

Needed to take advantage of template callbacks
and new APIs.
This commit is contained in:
Christopher Davis 2021-12-22 18:17:38 -08:00
parent 5c25a6a270
commit 5893d4b764
7 changed files with 309 additions and 485 deletions

View file

@ -173,7 +173,7 @@ impl LpApplication {
// Builders are a pattern that allow you to create
// an object and set all relevant properties very
// easily in a way that's idiomatic to Rust.
let dialog = gtk::AboutDialogBuilder::new()
let dialog = gtk::AboutDialog::builder()
.authors(vec![String::from(
"Christopher Davis <christopherdavis@gnome.org>",
)])