forked from mirrors/gstreamer-rs
Fix compilation of GTK examples with latest gio
This commit is contained in:
parent
92e0b525ad
commit
884c9790ef
2 changed files with 2 additions and 2 deletions
|
@ -129,7 +129,7 @@ fn main() {
|
|||
gst::init().unwrap();
|
||||
gtk::init().unwrap();
|
||||
|
||||
let app = gtk::Application::new(None, gio::APPLICATION_FLAGS_NONE).unwrap();
|
||||
let app = gtk::Application::new(None, gio::ApplicationFlags::FLAGS_NONE).unwrap();
|
||||
|
||||
app.connect_activate(create_ui);
|
||||
let args = env::args().collect::<Vec<_>>();
|
||||
|
|
|
@ -205,7 +205,7 @@ fn main() {
|
|||
gst::init().unwrap();
|
||||
gtk::init().unwrap();
|
||||
|
||||
let app = gtk::Application::new(None, gio::APPLICATION_FLAGS_NONE).unwrap();
|
||||
let app = gtk::Application::new(None, gio::ApplicationFlags::FLAGS_NONE).unwrap();
|
||||
|
||||
app.connect_activate(create_ui);
|
||||
let args = env::args().collect::<Vec<_>>();
|
||||
|
|
Loading…
Reference in a new issue