forked from mirrors/gstreamer-rs
Fix build with latest GApplication API changes
This commit is contained in:
parent
19e40a5e2c
commit
d608cff9e9
2 changed files with 2 additions and 4 deletions
|
@ -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"))]
|
||||
|
|
Loading…
Reference in a new issue