mirror of
https://github.com/Zedfrigg/ironbar.git
synced 2025-08-17 14:51:04 +02:00
refactor: take reference into image provider
This commit is contained in:
parent
df4bfc83d0
commit
cc6f21ed68
7 changed files with 11 additions and 10 deletions
|
@ -415,7 +415,7 @@ impl Module<Button> for MusicModule {
|
|||
ImageProvider::parse(&cover_path, &icon_theme, false, image_size)
|
||||
}) {
|
||||
album_image.show();
|
||||
image.load_into_image(album_image.clone())
|
||||
image.load_into_image(&album_image)
|
||||
} else {
|
||||
album_image.set_from_pixbuf(None);
|
||||
album_image.hide();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue