Fix build with latest GApplication API changes

This commit is contained in:
Sebastian Dröge 2017-09-26 10:41:03 +03:00
parent 19e40a5e2c
commit d608cff9e9
2 changed files with 2 additions and 4 deletions

View file

@ -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"))]

View file

@ -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"))]