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-11-21 13:12:27 +0100
commitd6a31e798a391e5a6f6a157323814c884b576491 (patch)
tree4d05b2a0bec84d0358b521f10012892cf1a4eee7 /src/iconthemewrapper.h
parent21c6c9d7de2b420a9464cab3d1b073089f56b472 (diff)
downloadmate-system-monitor-d6a31e798a391e5a6f6a157323814c884b576491.tar.bz2
mate-system-monitor-d6a31e798a391e5a6f6a157323814c884b576491.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; }