diff --git a/examples/src/bin/gtksink.rs b/examples/src/bin/gtksink.rs index 5d471ae19..88b3ca7a0 100644 --- a/examples/src/bin/gtksink.rs +++ b/examples/src/bin/gtksink.rs @@ -151,7 +151,7 @@ fn main() { gst::init().unwrap(); gtk::init().unwrap(); - let app = gtk::Application::new(None, gio::ApplicationFlags::FLAGS_NONE).unwrap(); + let app = gtk::Application::new(None, gio::ApplicationFlags::FLAGS_NONE); app.connect_activate(create_ui); app.run(); diff --git a/examples/src/bin/gtkvideooverlay.rs b/examples/src/bin/gtkvideooverlay.rs index 082b6133d..109cfeb00 100644 --- a/examples/src/bin/gtkvideooverlay.rs +++ b/examples/src/bin/gtkvideooverlay.rs @@ -264,7 +264,7 @@ fn main() { gst::init().unwrap(); gtk::init().unwrap(); - let app = gtk::Application::new(None, gio::ApplicationFlags::FLAGS_NONE).unwrap(); + let app = gtk::Application::new(None, gio::ApplicationFlags::FLAGS_NONE); app.connect_activate(create_ui); app.run();