Fix compilation of GTK examples with latest gio

This commit is contained in:
Sebastian Dröge 2017-10-01 16:18:16 +02:00
parent 92e0b525ad
commit 884c9790ef
2 changed files with 2 additions and 2 deletions

View file

@ -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<_>>();

View file

@ -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<_>>();