[wlr/taskbar] Declared load_icon_from_file() static.
parent
22ed153004
commit
8a284e7c74
|
@ -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);
|
||||||
|
|
Loading…
Reference in New Issue