Merge branch 'tray-gdbus' into tray-gdbus

This commit is contained in:
Tobias Pisani
2018-10-05 21:20:36 +02:00
committed by GitHub
3 changed files with 5 additions and 5 deletions

View File

@@ -165,7 +165,8 @@ waybar::modules::SNI::Item::extractPixBuf(GVariant *variant) {
return Glib::RefPtr<Gdk::Pixbuf>{};
}
void waybar::modules::SNI::Item::updateImage() {
void waybar::modules::SNI::Item::updateImage()
{
if (!icon_name.empty()) {
auto pixbuf = getIconByName(icon_name, icon_size);
if (pixbuf->gobj() == nullptr) {