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:
Carsten Haitzler 2020-11-27 11:23:22 +00:00
parent c23015ac92
commit 0c2288daef
1 changed files with 1 additions and 0 deletions

View File

@ -41,6 +41,7 @@ systray_notifier_item_free(Notifier_Item *item)
}
host_inst->ii_list = eina_inlist_remove(host_inst->ii_list,
EINA_INLIST_GET(ii));
systray_edje_box_remove(host_inst->inst, ii->icon);
evas_object_del(ii->icon);
free(ii);
systray_size_updated(host_inst->inst);