From 744e42892d3da3247df4e04f0d97e93e6d50799a Mon Sep 17 00:00:00 2001 From: ouwou <26526779+ouwou@users.noreply.github.com> Date: Sun, 17 Jan 2021 22:50:55 -0500 Subject: cleanup --- components/channels.hpp | 13 +------------ 1 file changed, 1 insertion(+), 12 deletions(-) (limited to 'components/channels.hpp') diff --git a/components/channels.hpp b/components/channels.hpp index 8f73a50..f537043 100644 --- a/components/channels.hpp +++ b/components/channels.hpp @@ -38,8 +38,6 @@ public: ChannelListRowDMChannel(const ChannelData *data); protected: - void OnImageLoad(Glib::RefPtr buf); - Gtk::EventBox *m_ev; Gtk::Box *m_box; Gtk::TextView *m_lbl; @@ -53,9 +51,6 @@ public: int GuildIndex; protected: - void OnImageLoad(const Glib::RefPtr &buf); - void OnAnimatedImageLoad(const Glib::RefPtr &buf); - Gtk::EventBox *m_ev; Gtk::Box *m_box; Gtk::TextView *m_lbl; @@ -139,7 +134,6 @@ public: void UpdateCreateDMChannel(Snowflake id); void UpdateCreateChannel(Snowflake id); void UpdateGuild(Snowflake id); - void Clear(); void SetActiveChannel(Snowflake id); @@ -165,10 +159,6 @@ protected: Gtk::Menu m_channel_menu; Gtk::MenuItem *m_channel_menu_copyid; - Glib::Dispatcher m_update_dispatcher; - //mutable std::mutex m_update_mutex; - //std::queue> m_update_queue; - // i would use one map but in really old guilds there can be a channel w/ same id as the guild so this hacky shit has to do std::unordered_map m_guild_id_to_row; std::unordered_map m_id_to_row; @@ -176,8 +166,7 @@ protected: void InsertGuildAt(Snowflake id, int pos); - void AddPrivateChannels(); // retard moment - void UpdateListingInternal(); + void AddPrivateChannels(); void CheckBumpDM(Snowflake channel_id); -- cgit v1.2.3