1
0
Fork 0
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:
Jake Stanger 2024-06-28 23:26:36 +01:00
parent df4bfc83d0
commit cc6f21ed68
No known key found for this signature in database
GPG key ID: C51FC8F9CB0BEA61
7 changed files with 11 additions and 10 deletions

View file

@ -176,7 +176,7 @@ impl ItemButton {
button.set_image(Some(&gtk_image));
button.set_always_show_image(true);
if let Err(err) = image.load_into_image(gtk_image) {
if let Err(err) = image.load_into_image(&gtk_image) {
error!("{err:?}");
}
};