aboutsummaryrefslogtreecommitdiff
path: root/swaybar/tray/item.c
diff options
context:
space:
mode:
Diffstat (limited to 'swaybar/tray/item.c')
-rw-r--r--swaybar/tray/item.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/swaybar/tray/item.c b/swaybar/tray/item.c
index 1f18b8bb..c7938a35 100644
--- a/swaybar/tray/item.c
+++ b/swaybar/tray/item.c
@@ -431,7 +431,7 @@ static void reload_sni(struct swaybar_sni *sni, char *icon_theme,
list_free(icon_search_paths);
if (icon_path) {
cairo_surface_destroy(sni->icon);
- sni->icon = load_background_image(icon_path);
+ sni->icon = load_image(icon_path);
free(icon_path);
return;
}