Skip to content

Commit

Permalink
ui: don't pass cli arguments to gtk
Browse files Browse the repository at this point in the history
  • Loading branch information
vhakulinen committed May 6, 2023
1 parent 70dfd9e commit 36fd62e
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion ui/src/main.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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: &gtk::Application, args: &arguments::BoxedArguments) {
Expand Down

0 comments on commit 36fd62e

Please sign in to comment.