mirror of
https://gitlab.freedesktop.org/gstreamer/gst-plugins-rs.git
synced 2025-02-16 12:55:13 +00:00
Update for glib::source_remove() removal
This commit is contained in:
parent
21e8c6dcd1
commit
1a830c7c78
2 changed files with 2 additions and 2 deletions
|
@ -210,7 +210,7 @@ fn create_ui(app: >k::Application) {
|
|||
bus.remove_watch().unwrap();
|
||||
|
||||
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();
|
||||
|
||||
if let Some(timeout_id) = timeout_id.borrow_mut().take() {
|
||||
glib::source_remove(timeout_id);
|
||||
timeout_id.remove();
|
||||
}
|
||||
});
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue