diff --git a/ui/src/main.rs b/ui/src/main.rs index e4dc1bc5..7dc4d31d 100644 --- a/ui/src/main.rs +++ b/ui/src/main.rs @@ -36,7 +36,9 @@ fn main() -> ExitCode { app.connect_activate(move |app| build_ui(app, &args)); - app.run() + // NOTE(ville): Pass empty arguments to the gtk application. We handle + // those manually. + app.run_with_args::<&str>(&[]) } fn build_ui(app: >k::Application, args: &arguments::BoxedArguments) {