mirror of
https://gitlab.freedesktop.org/gstreamer/gst-plugins-rs.git
synced 2024-11-25 13:01:07 +00:00
utils: fix further to glib change ControlFlow -> Propagation
See: https://github.com/gtk-rs/gtk-rs-core/pull/1144 Part-of: <https://gitlab.freedesktop.org/gstreamer/gst-plugins-rs/-/merge_requests/1292>
This commit is contained in:
parent
9680805bdb
commit
10902c0485
2 changed files with 4 additions and 4 deletions
|
@ -142,11 +142,11 @@ fn create_ui(app: >k::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();
|
||||
|
|
|
@ -273,11 +273,11 @@ fn create_ui(app: >k::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();
|
||||
|
|
Loading…
Reference in a new issue