mirror of
https://github.com/YGGverse/Yoda.git
synced 2026-04-01 00:55:28 +00:00
activate gtk before build children widgets, add browser pointer to the app struct
This commit is contained in:
parent
2d59115c7e
commit
b6fa1016f6
3 changed files with 40 additions and 68 deletions
|
|
@ -26,6 +26,9 @@ fn main() -> ExitCode {
|
|||
Err(error) => panic!("Failed to connect profile database: {error}"),
|
||||
};
|
||||
|
||||
// Start application
|
||||
App::new(profile_database_connection).activate().run()
|
||||
// Init GTK, start application
|
||||
match gtk::init() {
|
||||
Ok(_) => App::new(profile_database_connection).activate().run(),
|
||||
Err(_) => ExitCode::FAILURE,
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue