From e51d5d1980b1ab0c1738836762900f7bd9bc3c3f Mon Sep 17 00:00:00 2001 From: ouwou <26526779+ouwou@users.noreply.github.com> Date: Tue, 14 Mar 2023 14:18:54 -0400 Subject: more WITH_VOICE guards --- src/windows/mainwindow.cpp | 4 ++++ src/windows/mainwindow.hpp | 3 +++ 2 files changed, 7 insertions(+) (limited to 'src/windows') diff --git a/src/windows/mainwindow.cpp b/src/windows/mainwindow.cpp index 73b78de..f867db9 100644 --- a/src/windows/mainwindow.cpp +++ b/src/windows/mainwindow.cpp @@ -51,10 +51,14 @@ MainWindow::MainWindow() m_content_stack.set_visible_child("chat"); m_content_stack.show(); +#ifdef WITH_VOICE m_voice_info.show(); +#endif m_left_pane.add(m_channel_list); +#ifdef WITH_VOICE m_left_pane.add(m_voice_info); +#endif m_left_pane.show(); m_chan_content_paned.pack1(m_left_pane); diff --git a/src/windows/mainwindow.hpp b/src/windows/mainwindow.hpp index 5cad82f..e075c10 100644 --- a/src/windows/mainwindow.hpp +++ b/src/windows/mainwindow.hpp @@ -57,7 +57,10 @@ private: ChatWindow m_chat; MemberList m_members; FriendsList m_friends; + +#ifdef WITH_VOICE VoiceInfoBox m_voice_info; +#endif Gtk::Box m_left_pane; -- cgit v1.2.3