diff --git a/src/app.rs b/src/app.rs index 9057e6f6..50fb4d92 100644 --- a/src/app.rs +++ b/src/app.rs @@ -16,8 +16,6 @@ pub struct App { impl App { /// Create an App instance - /// - /// Requires gtk::init() to have executed successfully. pub fn new() -> App { let gtk_app = gtk::Application::new(Some(APP_ID), gio::ApplicationFlags::empty()) .expect("Failed to initialize GtkApplication"); diff --git a/src/main.rs b/src/main.rs index 0c222c11..c683202d 100644 --- a/src/main.rs +++ b/src/main.rs @@ -22,8 +22,6 @@ fn main() { // let data_path = xdg_dirs.place_data_file("data.yml").unwrap(); // TODO: Read settings - // gtk::init().expect("Failed to initialize GTK."); - let app = App::new(); app.run();