forked from mirrors/gstreamer-rs
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,
|
||||
priority: Priority,
|
||||
func: F,
|
||||
) -> Option<glib::Source>
|
||||
) -> glib::Source
|
||||
where
|
||||
F: FnMut(&Bus, &Message) -> Continue + Send + 'static,
|
||||
{
|
||||
|
|
Loading…
Reference in a new issue