utils: No error to catch here

This commit is contained in:
Rico Tzschichholz 2015-03-04 12:07:09 +01:00
parent c594f8e9a7
commit 3fc7213841

View File

@ -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) {