1 2 3 4 5 6 7 8 9 10 11 12 13 14 15
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(Rc::new(Profile::new())).run(), Err(_) => ExitCode::FAILURE, } }