Update gtk-rs crates

This commit is contained in:
Elias Projahn 2022-04-16 12:24:30 +02:00
parent 3a27113bda
commit ff17549b8b
39 changed files with 324 additions and 313 deletions

View file

@ -352,7 +352,7 @@ impl Player {
let uri = glib::filename_to_uri(&path, None)
.map_err(|_| Error::Other(format!("Failed to create URI from path: {}", path)))?;
self.player.set_uri(&uri);
self.player.set_uri(Some(&uri));
if self.is_playing() {
self.player.play();