mirror of
https://github.com/johrpan/musicus.git
synced 2025-10-26 11:47:25 +01:00
Update gtk-rs crates
This commit is contained in:
parent
3a27113bda
commit
ff17549b8b
39 changed files with 324 additions and 313 deletions
|
|
@ -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();
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue