From 3bdd41c61bad10fddacd5251f9842f07fb98da70 Mon Sep 17 00:00:00 2001 From: yggverse Date: Mon, 23 Sep 2024 12:44:57 +0300 Subject: [PATCH] add data type --- src/main.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/main.rs b/src/main.rs index 80f79ae2..71188821 100644 --- a/src/main.rs +++ b/src/main.rs @@ -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();