From 679aafa9e88e2d097705dad906bfd04e1de66c54 Mon Sep 17 00:00:00 2001 From: Alexis Date: Fri, 10 Aug 2018 18:16:11 +0200 Subject: [PATCH] refactor(pulseaudio): remove signal init --- src/modules/pulseaudio.cpp | 2 -- 1 file changed, 2 deletions(-) diff --git a/src/modules/pulseaudio.cpp b/src/modules/pulseaudio.cpp index 7e4b99b8..dbc3f8ba 100644 --- a/src/modules/pulseaudio.cpp +++ b/src/modules/pulseaudio.cpp @@ -10,8 +10,6 @@ waybar::modules::Pulseaudio::Pulseaudio(Json::Value config) throw std::runtime_error("pa_mainloop_new() failed."); pa_threaded_mainloop_lock(_mainloop); _mainloop_api = pa_threaded_mainloop_get_api(_mainloop); - if (pa_signal_init(_mainloop_api) != 0) - throw std::runtime_error("pa_signal_init() failed."); _context = pa_context_new(_mainloop_api, "waybar"); if (!_context) throw std::runtime_error("pa_context_new() failed.");