mirror of
https://github.com/rad4day/Waybar.git
synced 2023-12-21 10:22:59 +01:00
[wlr/taskbar] Removed unnecessary catch statement.
This commit is contained in:
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…
x
Reference in New Issue
Block a user