summaryrefslogtreecommitdiff
path: root/src/iconthemewrapper.cpp
diff options
context:
space:
mode:
authorinfirit <[email protected]>2014-12-18 00:23:57 +0100
committerinfirit <[email protected]>2014-12-18 00:23:57 +0100
commit12975909c589880030db6125ad6dcbea889edcdc (patch)
treefc374a8a3b855b5024d09f9edb2e47ca755cb7ac /src/iconthemewrapper.cpp
parent0dea7ab1931fb33f35eceab66dffcd56f4550f68 (diff)
downloadmate-system-monitor-12975909c589880030db6125ad6dcbea889edcdc.tar.bz2
mate-system-monitor-12975909c589880030db6125ad6dcbea889edcdc.tar.xz
Make indentation uniform across source files
No more tabs, 4 spaces instead. And remove trailing whitespace.
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>();
}
}