Commit d608cff9 authored by Sebastian Dröge's avatar Sebastian Dröge 🍵

Fix build with latest GApplication API changes

parent 19e40a5e
......@@ -133,8 +133,7 @@ fn main() {
app.connect_activate(create_ui);
let args = env::args().collect::<Vec<_>>();
let args_ref = args.iter().map(|a| a.as_str()).collect::<Vec<_>>();
app.run(&args_ref);
app.run(&args);
}
#[cfg(not(feature = "gtksink"))]
......
......@@ -209,8 +209,7 @@ fn main() {
app.connect_activate(create_ui);
let args = env::args().collect::<Vec<_>>();
let args_ref = args.iter().map(|a| a.as_str()).collect::<Vec<_>>();
app.run(&args_ref);
app.run(&args);
}
#[cfg(not(feature = "gtkvideooverlay"))]
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment