[wlr/taskbar] Declared load_icon_from_file() static.

pull/1018/head
jgmdev 2021-02-03 21:14:04 -04:00
parent 22ed153004
commit 8a284e7c74
1 changed files with 1 additions and 1 deletions

View File

@ -76,7 +76,7 @@ static std::vector<std::string> search_prefix()
return prefixes; 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 { try {
auto pb = Gdk::Pixbuf::create_from_file(icon_path, size, size); auto pb = Gdk::Pixbuf::create_from_file(icon_path, size, size);