mirror of
https://github.com/swaywm/sway.git
synced 2025-04-03 19:07:45 +03:00
common: rename load_background_image to load_image
This commit is contained in:
parent
39b9c0d6ba
commit
439122e887
3 changed files with 3 additions and 3 deletions
|
@ -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;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue