summaryrefslogtreecommitdiff
path: root/src/iconthemewrapper.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/iconthemewrapper.cpp')
-rw-r--r--src/iconthemewrapper.cpp12
1 files changed, 6 insertions, 6 deletions
diff --git a/src/iconthemewrapper.cpp b/src/iconthemewrapper.cpp
index 496dd45..4a66f5c 100644
--- a/src/iconthemewrapper.cpp
+++ b/src/iconthemewrapper.cpp
@@ -7,17 +7,17 @@
Glib::RefPtr<Gdk::Pixbuf>
procman::IconThemeWrapper::load_icon(const Glib::ustring& icon_name,
- int size, Gtk::IconLookupFlags flags) const
+ int size, Gtk::IconLookupFlags flags) const
{
- try
+ try
{
return Gtk::IconTheme::get_default()->load_icon(icon_name, size, flags);
}
- catch (Gtk::IconThemeError &error)
+ catch (Gtk::IconThemeError &error)
{
- if (error.code() != Gtk::IconThemeError::ICON_THEME_NOT_FOUND)
- g_error("Cannot load icon '%s' from theme: %s", icon_name.c_str(), error.what().c_str());
- return Glib::RefPtr<Gdk::Pixbuf>();
+ if (error.code() != Gtk::IconThemeError::ICON_THEME_NOT_FOUND)
+ g_error("Cannot load icon '%s' from theme: %s", icon_name.c_str(), error.what().c_str());
+ return Glib::RefPtr<Gdk::Pixbuf>();
}
}