From 0a1138fbd025da2c3f28cec73f823d9274ebc4db Mon Sep 17 00:00:00 2001 From: ouwou <26526779+ouwou@users.noreply.github.com> Date: Thu, 18 May 2023 20:31:58 -0400 Subject: try to fix build --- src/components/channels.cpp | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src/components/channels.cpp') diff --git a/src/components/channels.cpp b/src/components/channels.cpp index 3327b02..5e3da86 100644 --- a/src/components/channels.cpp +++ b/src/components/channels.cpp @@ -850,6 +850,7 @@ Gtk::TreeModel::iterator ChannelList::CreateThreadRow(const Gtk::TreeNodeChildre return thread_iter; } +#ifdef WITH_VOICE Gtk::TreeModel::iterator ChannelList::CreateVoiceParticipantRow(const UserData &user, const Gtk::TreeNodeChildren &parent) { auto row = *m_model->append(parent); row[m_columns.m_type] = RenderType::VoiceParticipant; @@ -866,6 +867,7 @@ Gtk::TreeModel::iterator ChannelList::CreateVoiceParticipantRow(const UserData & return row; } +#endif void ChannelList::UpdateChannelCategory(const ChannelData &channel) { auto iter = GetIteratorForRowFromID(channel.ID); -- cgit v1.2.3