Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.freedesktop.org/gstreamer/gst-plugins-rs.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSebastian Dröge <sebastian@centricular.com>2021-04-12 11:53:40 +0300
committerSebastian Dröge <sebastian@centricular.com>2021-04-12 11:53:40 +0300
commitc3fb55f235f7feb1ab737a64f8d3d53d03a81c7a (patch)
tree60cce8220c77fd7b6d10a6ef4d9bc976c542ab1b
parent5be7ebd480680ec77d2e0a7fd1f6d918c2e59acf (diff)
examples: gtk::Application::new() is not fallible anymore
-rw-r--r--utils/fallbackswitch/examples/gtk_fallbackswitch.rs2
-rw-r--r--utils/togglerecord/examples/gtk_recording.rs2
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();