[wlr/taskbar] Removed unnecessary catch statement.
parent
8a284e7c74
commit
e293b89f6b
|
@ -81,8 +81,6 @@ static Glib::RefPtr<Gdk::Pixbuf> load_icon_from_file(std::string icon_path, int
|
||||||
try {
|
try {
|
||||||
auto pb = Gdk::Pixbuf::create_from_file(icon_path, size, size);
|
auto pb = Gdk::Pixbuf::create_from_file(icon_path, size, size);
|
||||||
return pb;
|
return pb;
|
||||||
} catch(Glib::Error&) {
|
|
||||||
return {};
|
|
||||||
} catch(...) {
|
} catch(...) {
|
||||||
return {};
|
return {};
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue