install_count_cb (PoolItem_Ref item, const ResStatus & status, void *data)
{
int *count = (int *)data;
- if (! status.isInstalled ()) {
+ if (! item.status().isInstalled ()) {
++*count;
}
}
uninstall_count_cb (PoolItem_Ref item, const ResStatus & status, void *data)
{
int *count = (int *)data;
- if (status.isInstalled ()) {
+ if (item.status().isInstalled ()) {
++*count;
}
}
satisfy_count_cb (PoolItem_Ref item, const ResStatus & status, void *data)
{
int *count = (int *)data;
- if (! status.isInstalled ()) {
+ if (! item.status().isInstalled ()) {
++*count;
}
}