Skip to content

Commit 5ae63b8

Browse files
committed
avoid passing command line args to GTK
Fixes #86.
1 parent 43a0289 commit 5ae63b8

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/main.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ fn main() -> Result<()> {
3333
gtk::init().unwrap();
3434

3535
relm4::set_global_css(include_str!("styles.css"));
36-
let app = RelmApp::new("io.github.fm");
36+
let app = RelmApp::new("io.github.fm").with_args(vec![]);
3737
app.run::<AppModel>(fs::canonicalize(args.file)?);
3838

3939
info!("main loop exited");

0 commit comments

Comments
 (0)