aboutsummaryrefslogtreecommitdiff
path: root/src/gui
diff options
context:
space:
mode:
Diffstat (limited to 'src/gui')
-rw-r--r--src/gui/mod.rs3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/gui/mod.rs b/src/gui/mod.rs
index a8a025c..c33500b 100644
--- a/src/gui/mod.rs
+++ b/src/gui/mod.rs
@@ -18,7 +18,8 @@ pub fn run(conn: Connection) {
let app = gtk::Application::new(Some("me.guyonvarch.calendar"), Default::default());
app.connect_startup(|_| load_style());
app.connect_activate(move |app| build_ui(conn.clone(), app));
- app.run();
+ let args: [&str; 0] = [];
+ app.run_with_args(&args);
}
fn build_ui(conn: Rc<Connection>, app: &gtk::Application) {