1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16
mod app; mod profile; mod tool; use app::App; use profile::Profile; use gtk::glib::ExitCode; use std::rc::Rc; fn main() -> ExitCode { match gtk::init() { Ok(_) => App::build(&Rc::new(Profile::new())).run(), Err(_) => ExitCode::FAILURE, } }