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/togglerecord/examples | |
parent | 5be7ebd480680ec77d2e0a7fd1f6d918c2e59acf (diff) |
examples: gtk::Application::new() is not fallible anymore
Diffstat (limited to 'utils/togglerecord/examples')
-rw-r--r-- | utils/togglerecord/examples/gtk_recording.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/utils/togglerecord/examples/gtk_recording.rs b/utils/togglerecord/examples/gtk_recording.rs index 648a6474..13dee1da 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(); |