refactor(pulseaudio): remove signal init

pull/18/head
Alexis 2018-08-10 18:16:11 +02:00
parent 9b2c551f2e
commit 679aafa9e8
1 changed files with 0 additions and 2 deletions

View File

@ -10,8 +10,6 @@ waybar::modules::Pulseaudio::Pulseaudio(Json::Value config)
throw std::runtime_error("pa_mainloop_new() failed."); throw std::runtime_error("pa_mainloop_new() failed.");
pa_threaded_mainloop_lock(_mainloop); pa_threaded_mainloop_lock(_mainloop);
_mainloop_api = pa_threaded_mainloop_get_api(_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"); _context = pa_context_new(_mainloop_api, "waybar");
if (!_context) if (!_context)
throw std::runtime_error("pa_context_new() failed."); throw std::runtime_error("pa_context_new() failed.");