Browse Source

add data type

master
yggverse 2 months ago
parent
commit
3bdd41c61b
  1. 4
      src/main.rs

4
src/main.rs

@ -40,8 +40,8 @@ fn main() -> glib::ExitCode { @@ -40,8 +40,8 @@ fn main() -> glib::ExitCode {
Err(e) => panic!("Failed to connect profile database: {e}"),
};
move |this| {
browser::Browser::new(&this, db.clone(), 640, 480)
move |this: &Application| {
browser::Browser::new(this, db.clone(), 640, 480)
.widget()
.gtk()
.present();

Loading…
Cancel
Save