diff options
author | ouwou <26526779+ouwou@users.noreply.github.com> | 2021-01-17 22:50:55 -0500 |
---|---|---|
committer | ouwou <26526779+ouwou@users.noreply.github.com> | 2021-01-17 22:50:55 -0500 |
commit | 744e42892d3da3247df4e04f0d97e93e6d50799a (patch) | |
tree | bbdc4a58785de6fd54f237edec2c71c7523a5c4f /components/channels.hpp | |
parent | 3f6024ddf213b83cf0c815b68f8ad8de3f3afa44 (diff) | |
download | abaddon-portaudio-744e42892d3da3247df4e04f0d97e93e6d50799a.tar.gz abaddon-portaudio-744e42892d3da3247df4e04f0d97e93e6d50799a.zip |
cleanup
Diffstat (limited to 'components/channels.hpp')
-rw-r--r-- | components/channels.hpp | 13 |
1 files changed, 1 insertions, 12 deletions
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<Gdk::Pixbuf> 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<Gdk::Pixbuf> &buf); - void OnAnimatedImageLoad(const Glib::RefPtr<Gdk::PixbufAnimation> &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<std::unordered_set<Snowflake>> 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<Snowflake, ChannelListRow *> m_guild_id_to_row; std::unordered_map<Snowflake, ChannelListRow *> 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); |