mirror of
https://github.com/YGGverse/Yoda.git
synced 2026-04-01 09:05:27 +00:00
move profile components to separated namespace
This commit is contained in:
parent
61010e0a42
commit
b12f5e8b8f
13 changed files with 332 additions and 214 deletions
|
|
@ -2,11 +2,14 @@ mod app;
|
|||
mod profile;
|
||||
|
||||
use app::App;
|
||||
use profile::Profile;
|
||||
|
||||
use gtk::glib::ExitCode;
|
||||
use std::rc::Rc;
|
||||
|
||||
fn main() -> ExitCode {
|
||||
match gtk::init() {
|
||||
Ok(_) => App::new().run(),
|
||||
Ok(_) => App::new(Rc::new(Profile::new())).run(),
|
||||
Err(_) => ExitCode::FAILURE,
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue