From 884c9790ef37874fcf031f3c2bdb8f0a910c8279 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Sebastian=20Dr=C3=B6ge?= Date: Sun, 1 Oct 2017 16:18:16 +0200 Subject: [PATCH] Fix compilation of GTK examples with latest gio --- examples/src/bin/gtksink.rs | 2 +- examples/src/bin/gtkvideooverlay.rs | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/examples/src/bin/gtksink.rs b/examples/src/bin/gtksink.rs index cf00eb150..598c84504 100644 --- a/examples/src/bin/gtksink.rs +++ b/examples/src/bin/gtksink.rs @@ -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::>(); diff --git a/examples/src/bin/gtkvideooverlay.rs b/examples/src/bin/gtkvideooverlay.rs index ca8bf63a5..b53fedfed 100644 --- a/examples/src/bin/gtkvideooverlay.rs +++ b/examples/src/bin/gtkvideooverlay.rs @@ -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::>();