DbgPrint("pkgname[%s] id[%s]\n", arg->pkgname, arg->id);
- if (arg->info.dbox_destroy.type == DBOX_DESTROY_DEFAULT || arg->info.dbox_destroy.type == DBOX_DESTROY_UNINSTALL) {
+ if (arg->info.dbox_destroy.type == DBOX_DESTROY_TYPE_DEFAULT || arg->info.dbox_destroy.type == DBOX_DESTROY_TYPE_UNINSTALL) {
DbgPrint("Box is deleted from the viewer\n");
(void)dbox_system_event(arg->pkgname, arg->id, DBOX_SYS_EVENT_DELETED);
}
if (ret <= 0) {
if (so_need_to_destroy(item->inst) == DBOX_NEED_TO_DESTROY) {
dynamicbox_provider_send_deleted(item->inst->item->pkgname, item->inst->id);
- dbox_destroy(item->inst->item->pkgname, item->inst->id, DBOX_DESTROY_DEFAULT);
+ dbox_destroy(item->inst->item->pkgname, item->inst->id, DBOX_DESTROY_TYPE_DEFAULT);
/*!
* \CRITICAL
* Every caller of this, must not access the item from now.
if (ret <= 0) {
if (so_need_to_destroy(item->inst) == DBOX_NEED_TO_DESTROY) {
dynamicbox_provider_send_deleted(item->inst->item->pkgname, item->inst->id);
- dbox_destroy(item->inst->item->pkgname, item->inst->id, DBOX_DESTROY_DEFAULT);
+ dbox_destroy(item->inst->item->pkgname, item->inst->id, DBOX_DESTROY_TYPE_DEFAULT);
/*!
* \CRITICAL
* Every caller of this, must not access the item from now.
/*
* To keep the previous status, we should or'ing the value.
*/
- item->unload_so = (item->unload_so || (type == DBOX_DESTROY_UNINSTALL));
+ item->unload_so = (item->unload_so || (type == DBOX_DESTROY_TYPE_UNINSTALL));
if (item->monitor) {
item->deleteme = 1;