mirror of
https://github.com/elementary/gala.git
synced 2024-12-18 06:41:36 +03:00
utils: No error to catch here
This commit is contained in:
parent
c594f8e9a7
commit
3fc7213841
@ -130,7 +130,6 @@ namespace Gala
|
||||
string? icon_key = null;
|
||||
|
||||
if (app != null && app.get_desktop_file () != null) {
|
||||
try {
|
||||
var appinfo = new DesktopAppInfo.from_filename (app.get_desktop_file ());
|
||||
if (appinfo != null) {
|
||||
icon = Plank.Drawing.DrawingService.get_icon_from_gicon (appinfo.get_icon ());
|
||||
@ -140,9 +139,6 @@ namespace Gala
|
||||
not_cached = true;
|
||||
}
|
||||
}
|
||||
} catch (Error e) {
|
||||
warning (e.message);
|
||||
}
|
||||
}
|
||||
|
||||
if (image == null) {
|
||||
|
Loading…
Reference in New Issue
Block a user