Commit da6b04ab authored by Sebastian Dröge's avatar Sebastian Dröge 🍵

Bus::create_watch() can't return None, change it to return no Option

parent dc219af3
......@@ -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,
{
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment