summaryrefslogtreecommitdiff
path: root/src/iconthemewrapper.h
diff options
context:
space:
mode:
authorrbuj <[email protected]>2020-07-25 14:15:59 +0200
committerraveit65 <[email protected]>2020-08-27 12:33:35 +0200
commit58e338e80ac0e611626f5b2e62a2f32a4059025a (patch)
treea0a6b2ab1bda22865e68e0e46c800e56fd937ea9 /src/iconthemewrapper.h
parent706246d2dcb4bc3b41cf3a45c13266ed42be63b9 (diff)
downloadmate-system-monitor-58e338e80ac0e611626f5b2e62a2f32a4059025a.tar.bz2
mate-system-monitor-58e338e80ac0e611626f5b2e62a2f32a4059025a.tar.xz
pretty-table: prefer GIO to get application icons
Diffstat (limited to 'src/iconthemewrapper.h')
-rw-r--r--src/iconthemewrapper.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/iconthemewrapper.h b/src/iconthemewrapper.h
index 3a8bde5..81222b9 100644
--- a/src/iconthemewrapper.h
+++ b/src/iconthemewrapper.h
@@ -14,6 +14,8 @@ namespace procman
// returns 0 instead of raising an exception
Glib::RefPtr<Gdk::Pixbuf>
load_icon(const Glib::ustring& icon_name, int size) const;
+ Glib::RefPtr<Gdk::Pixbuf>
+ load_gicon(const Glib::RefPtr<Gio::Icon>& gicon, int size, Gtk::IconLookupFlags flags) const;
const IconThemeWrapper* operator->() const
{ return this; }