summaryrefslogtreecommitdiff
path: root/components
diff options
context:
space:
mode:
Diffstat (limited to 'components')
-rw-r--r--components/channels.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/components/channels.cpp b/components/channels.cpp
index db6beb1..159e86b 100644
--- a/components/channels.cpp
+++ b/components/channels.cpp
@@ -60,7 +60,7 @@ ChannelListRowGuild::ChannelListRowGuild(const Guild *data) {
auto buf = Abaddon::Get().GetImageManager().GetFromURLIfCached(data->GetIconURL("png", "32"));
if (buf)
- m_icon = Gtk::manage(new Gtk::Image(buf));
+ m_icon = Gtk::manage(new Gtk::Image(buf->scale_simple(24, 24, Gdk::INTERP_BILINEAR)));
else {
m_icon = Gtk::manage(new Gtk::Image(Abaddon::Get().GetImageManager().GetPlaceholder(24)));
Abaddon::Get().GetImageManager().LoadFromURL(data->GetIconURL("png", "32"), [this](Glib::RefPtr<Gdk::Pixbuf> ldbuf) {