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:
-rw-r--r--utils/fallbackswitch/examples/gtk_fallbackswitch.rs4
-rw-r--r--utils/togglerecord/examples/gtk_recording.rs4
2 files changed, 4 insertions, 4 deletions
diff --git a/utils/fallbackswitch/examples/gtk_fallbackswitch.rs b/utils/fallbackswitch/examples/gtk_fallbackswitch.rs
index 2b644c94b..8acb1a744 100644
--- a/utils/fallbackswitch/examples/gtk_fallbackswitch.rs
+++ b/utils/fallbackswitch/examples/gtk_fallbackswitch.rs
@@ -142,11 +142,11 @@ fn create_ui(app: &gtk::Application) {
window.connect_close_request(move |_| {
let app = match app_weak.upgrade() {
Some(app) => app,
- None => return glib::ControlFlow::Break,
+ None => return glib::Propagation::Stop,
};
app.quit();
- glib::ControlFlow::Break
+ glib::Propagation::Stop
});
let bus = pipeline.bus().unwrap();
diff --git a/utils/togglerecord/examples/gtk_recording.rs b/utils/togglerecord/examples/gtk_recording.rs
index 17d90cd35..1c2d8d488 100644
--- a/utils/togglerecord/examples/gtk_recording.rs
+++ b/utils/togglerecord/examples/gtk_recording.rs
@@ -273,11 +273,11 @@ fn create_ui(app: &gtk::Application) {
window.connect_close_request(move |_| {
let app = match app_weak.upgrade() {
Some(app) => app,
- None => return glib::ControlFlow::Break,
+ None => return glib::Propagation::Stop,
};
app.quit();
- glib::ControlFlow::Break
+ glib::Propagation::Stop
});
let bus = pipeline.bus().unwrap();