summaryrefslogtreecommitdiff
path: root/src/components/channellist/cellrendererchannels.hpp
diff options
context:
space:
mode:
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;