summaryrefslogtreecommitdiff
path: root/src/components/channellist/cellrendererchannels.hpp
diff options
context:
space:
mode:
authorouwou <26526779+ouwou@users.noreply.github.com>2024-06-17 03:50:50 -0400
committerouwou <26526779+ouwou@users.noreply.github.com>2024-06-17 03:50:50 -0400
commiteb9ad703be7769958bee959ce2f83f5325ef206b (patch)
tree837dd8ffbbb8b53a33379c61c4ce3dc36fff59ec /src/components/channellist/cellrendererchannels.hpp
parentf8de54e47eadc40fad4027a34902476527f48a5c (diff)
downloadabaddon-portaudio-eb9ad703be7769958bee959ce2f83f5325ef206b.tar.gz
abaddon-portaudio-eb9ad703be7769958bee959ce2f83f5325ef206b.zip
show voice channels and participants even if compiled without audio
Diffstat (limited to 'src/components/channellist/cellrendererchannels.hpp')
-rw-r--r--src/components/channellist/cellrendererchannels.hpp6
1 files changed, 0 insertions, 6 deletions
diff --git a/src/components/channellist/cellrendererchannels.hpp b/src/components/channellist/cellrendererchannels.hpp
index a313dc7..ebe4957 100644
--- a/src/components/channellist/cellrendererchannels.hpp
+++ b/src/components/channellist/cellrendererchannels.hpp
@@ -15,12 +15,8 @@ enum class RenderType : uint8_t {
Category,
TextChannel,
Thread,
-
-// TODO: maybe enable anyways but without ability to join if no voice support
-#ifdef WITH_VOICE
VoiceChannel,
VoiceParticipant,
-#endif
DMHeader,
DM,
@@ -107,7 +103,6 @@ protected:
const Gdk::Rectangle &cell_area,
Gtk::CellRendererState flags);
-#ifdef WITH_VOICE
// voice channel
void get_preferred_width_vfunc_voice_channel(Gtk::Widget &widget, int &minimum_width, int &natural_width) const;
void get_preferred_width_for_height_vfunc_voice_channel(Gtk::Widget &widget, int height, int &minimum_width, int &natural_width) const;
@@ -129,7 +124,6 @@ protected:
const Gdk::Rectangle &background_area,
const Gdk::Rectangle &cell_area,
Gtk::CellRendererState flags);
-#endif
// dm header
void get_preferred_width_vfunc_dmheader(Gtk::Widget &widget, int &minimum_width, int &natural_width) const;