mirror of
https://github.com/rad4day/Waybar.git
synced 2023-12-21 10:22:59 +01:00
[wlr/taskbar] Declared load_icon_from_file() static.
This commit is contained in:
parent
22ed153004
commit
8a284e7c74
@ -76,7 +76,7 @@ static std::vector<std::string> search_prefix()
|
||||
return prefixes;
|
||||
}
|
||||
|
||||
Glib::RefPtr<Gdk::Pixbuf> load_icon_from_file(std::string icon_path, int size)
|
||||
static Glib::RefPtr<Gdk::Pixbuf> load_icon_from_file(std::string icon_path, int size)
|
||||
{
|
||||
try {
|
||||
auto pb = Gdk::Pixbuf::create_from_file(icon_path, size, size);
|
||||
|
Loading…
Reference in New Issue
Block a user