forked from enlightenment/enlightenment
systray - remove deleted icon from box icon list
otherwise we just get warnings all day. this is a bug and efl plastered over it and didnt die by being nice - but we shiouldnt keep the bad code... @fix
This commit is contained in:
parent
c23015ac92
commit
0c2288daef
|
@ -41,6 +41,7 @@ systray_notifier_item_free(Notifier_Item *item)
|
||||||
}
|
}
|
||||||
host_inst->ii_list = eina_inlist_remove(host_inst->ii_list,
|
host_inst->ii_list = eina_inlist_remove(host_inst->ii_list,
|
||||||
EINA_INLIST_GET(ii));
|
EINA_INLIST_GET(ii));
|
||||||
|
systray_edje_box_remove(host_inst->inst, ii->icon);
|
||||||
evas_object_del(ii->icon);
|
evas_object_del(ii->icon);
|
||||||
free(ii);
|
free(ii);
|
||||||
systray_size_updated(host_inst->inst);
|
systray_size_updated(host_inst->inst);
|
||||||
|
|
Loading…
Reference in New Issue