summaryrefslogtreecommitdiffstats
path: root/src/gui/App.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/gui/App.cpp')
-rw-r--r--src/gui/App.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gui/App.cpp b/src/gui/App.cpp
index f9f47ddf..a815c6e7 100644
--- a/src/gui/App.cpp
+++ b/src/gui/App.cpp
@@ -376,7 +376,7 @@ App::icon_from_path(const string& path, int size)
buf->add_destroy_notify_callback(
new IconDestroyNotification(*this, make_pair(path, size)),
&App::icon_destroyed);
- } catch (Glib::Error e) {
+ } catch (const Glib::Error& e) {
warn << "Error loading icon: " << e.what() << endl;
}
return buf;