diff options
author | Sebastian Dröge <sebastian@centricular.com> | 2021-04-12 11:53:40 +0300 |
---|---|---|
committer | Sebastian Dröge <sebastian@centricular.com> | 2021-04-12 11:53:40 +0300 |
commit | c3fb55f235f7feb1ab737a64f8d3d53d03a81c7a (patch) | |
tree | 60cce8220c77fd7b6d10a6ef4d9bc976c542ab1b /utils | |
parent | 5be7ebd480680ec77d2e0a7fd1f6d918c2e59acf (diff) |
examples: gtk::Application::new() is not fallible anymore
Diffstat (limited to 'utils')
-rw-r--r-- | utils/fallbackswitch/examples/gtk_fallbackswitch.rs | 2 | ||||
-rw-r--r-- | utils/togglerecord/examples/gtk_recording.rs | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/utils/fallbackswitch/examples/gtk_fallbackswitch.rs b/utils/fallbackswitch/examples/gtk_fallbackswitch.rs index 59c253179..061f1cac9 100644 --- a/utils/fallbackswitch/examples/gtk_fallbackswitch.rs +++ b/utils/fallbackswitch/examples/gtk_fallbackswitch.rs @@ -220,7 +220,7 @@ fn main() { gstfallbackswitch::plugin_register_static().expect("Failed to register fallbackswitch plugin"); - 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/utils/togglerecord/examples/gtk_recording.rs b/utils/togglerecord/examples/gtk_recording.rs index 648a64748..13dee1daf 100644 --- a/utils/togglerecord/examples/gtk_recording.rs +++ b/utils/togglerecord/examples/gtk_recording.rs @@ -341,7 +341,7 @@ fn main() { gsttogglerecord::plugin_register_static().expect("Failed to register togglerecord plugin"); - 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(); |