[wlr/taskbar] Declared load_icon_from_file() static.

This commit is contained in:
jgmdev 2021-02-03 21:14:04 -04:00
parent 22ed153004
commit 8a284e7c74

View File

@ -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);