mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer-rs.git
synced 2024-11-29 21:11:14 +00:00
Bus::create_watch() can't return None, change it to return no Option
This commit is contained in:
parent
dc219af36e
commit
da6b04abfd
1 changed files with 1 additions and 1 deletions
|
@ -81,7 +81,7 @@ impl Bus {
|
||||||
name: N,
|
name: N,
|
||||||
priority: Priority,
|
priority: Priority,
|
||||||
func: F,
|
func: F,
|
||||||
) -> Option<glib::Source>
|
) -> glib::Source
|
||||||
where
|
where
|
||||||
F: FnMut(&Bus, &Message) -> Continue + Send + 'static,
|
F: FnMut(&Bus, &Message) -> Continue + Send + 'static,
|
||||||
{
|
{
|
||||||
|
|
Loading…
Reference in a new issue