mirror of
https://gitlab.freedesktop.org/gstreamer/gst-plugins-rs.git
synced 2024-06-14 12:19:23 +00:00
Update for glib::source_remove() removal
This commit is contained in:
parent
21e8c6dcd1
commit
1a830c7c78
|
@ -210,7 +210,7 @@ fn create_ui(app: >k::Application) {
|
||||||
bus.remove_watch().unwrap();
|
bus.remove_watch().unwrap();
|
||||||
|
|
||||||
if let Some(timeout_id) = timeout_id.borrow_mut().take() {
|
if let Some(timeout_id) = timeout_id.borrow_mut().take() {
|
||||||
glib::source_remove(timeout_id);
|
timeout_id.remove();
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
|
|
@ -331,7 +331,7 @@ fn create_ui(app: >k::Application) {
|
||||||
bus.remove_watch().unwrap();
|
bus.remove_watch().unwrap();
|
||||||
|
|
||||||
if let Some(timeout_id) = timeout_id.borrow_mut().take() {
|
if let Some(timeout_id) = timeout_id.borrow_mut().take() {
|
||||||
glib::source_remove(timeout_id);
|
timeout_id.remove();
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue