mirror of
https://github.com/rad4day/Waybar.git
synced 2023-12-21 10:22:59 +01:00
refactor(modules): prefer sigc::mem_fun
This commit is contained in:
@ -80,7 +80,7 @@ void waybar::modules::Pulseaudio::_sinkInfoCb(pa_context *context,
|
||||
pa->_volume = volume * 100.0f;
|
||||
pa->_muted = i->mute;
|
||||
pa->_desc = i->description;
|
||||
pa->update();
|
||||
Glib::signal_idle().connect_once(sigc::mem_fun(*pa, &Pulseaudio::update));
|
||||
}
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user