mirror of
https://github.com/scorpion-26/gBar.git
synced 2024-11-22 03:02:49 +00:00
SNI: Improve logging
This commit is contained in:
parent
25912c7e35
commit
40115befdd
1 changed files with 3 additions and 2 deletions
|
@ -79,8 +79,8 @@ namespace SNI
|
||||||
GVariantIter* data = nullptr;
|
GVariantIter* data = nullptr;
|
||||||
g_variant_iter_next(arrIter, "(iiay)", &width, &height, &data);
|
g_variant_iter_next(arrIter, "(iiay)", &width, &height, &data);
|
||||||
|
|
||||||
LOG(width);
|
LOG("SNI: Width: " << width);
|
||||||
LOG(height);
|
LOG("SNI: Height: " << height);
|
||||||
item.w = width;
|
item.w = width;
|
||||||
item.h = height;
|
item.h = height;
|
||||||
item.iconData = new uint8_t[width * height * 4];
|
item.iconData = new uint8_t[width * height * 4];
|
||||||
|
@ -196,6 +196,7 @@ namespace SNI
|
||||||
});
|
});
|
||||||
if (it != items.end())
|
if (it != items.end())
|
||||||
{
|
{
|
||||||
|
LOG("SNI: " << name << " vanished!");
|
||||||
items.erase(it);
|
items.erase(it);
|
||||||
InvalidateWidget();
|
InvalidateWidget();
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue