mirror of
https://github.com/rad4day/Waybar.git
synced 2025-07-20 01:42:38 +02:00
[wlr/taskbar] Removed unnecessary catch statement.
This commit is contained in:
@@ -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 {};
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user