[wlr/taskbar] Removed unnecessary catch statement.

This commit is contained in:
jgmdev 2021-02-04 04:57:08 -04:00
parent 8a284e7c74
commit e293b89f6b

View File

@ -81,8 +81,6 @@ static Glib::RefPtr<Gdk::Pixbuf> load_icon_from_file(std::string icon_path, int
try {
auto pb = Gdk::Pixbuf::create_from_file(icon_path, size, size);
return pb;
} catch(Glib::Error&) {
return {};
} catch(...) {
return {};
}