add data type

This commit is contained in:
yggverse 2024-09-23 12:44:57 +03:00
parent 76562c2894
commit 3bdd41c61b

View File

@ -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();