summaryrefslogtreecommitdiff
path: root/components/chatmessage.cpp
diff options
context:
space:
mode:
authorDylam De La Torre <DyXel04@gmail.com>2021-11-16 20:38:14 +0100
committerGitHub <noreply@github.com>2021-11-16 19:38:14 +0000
commit9d21df8e1bca9ccfa1bcfcde3bc8f35473866166 (patch)
tree5d2ea9d83bd779f325c1c48728fc9ac5832cdc5e /components/chatmessage.cpp
parent108002248c0739078302e00d5ca224a44b93ea56 (diff)
downloadabaddon-portaudio-9d21df8e1bca9ccfa1bcfcde3bc8f35473866166.tar.gz
abaddon-portaudio-9d21df8e1bca9ccfa1bcfcde3bc8f35473866166.zip
Fix warnings shown by GCC (#47)
* fix all warnings shown by GCC
Diffstat (limited to 'components/chatmessage.cpp')
-rw-r--r--components/chatmessage.cpp2
1 files changed, 0 insertions, 2 deletions
diff --git a/components/chatmessage.cpp b/components/chatmessage.cpp
index 759443f..4408f62 100644
--- a/components/chatmessage.cpp
+++ b/components/chatmessage.cpp
@@ -308,8 +308,6 @@ Gtk::Widget *ChatMessageItemContainer::CreateEmbedComponent(const EmbedData &emb
constexpr static int AuthorIconSize = 20;
if (embed.Author->ProxyIconURL.has_value()) {
- auto &img = Abaddon::Get().GetImageManager();
-
auto *author_img = Gtk::manage(new LazyImage(*embed.Author->ProxyIconURL, AuthorIconSize, AuthorIconSize));
author_img->set_halign(Gtk::ALIGN_START);
author_img->set_valign(Gtk::ALIGN_START);