elm_widget_item_static_focus: fix ERR prints
authorMarcel Hollerbach <mail@marcel-hollerbach.de>
Wed, 12 Dec 2018 11:49:37 +0000 (12:49 +0100)
committerWonki Kim <wonki_.kim@samsung.com>
Tue, 18 Dec 2018 07:13:58 +0000 (16:13 +0900)
commit1b5dd1bb0800d2c1959318ddb191fc22cd86b586
treea3c091995ba5fa26f9a6148e2a3e0c737737e35f
parent9841f66c0015d388739c480ee940daa6aebf5b68
elm_widget_item_static_focus: fix ERR prints

There is the case that the deletion of the adapter can cause another
registeration, which then calls another time prepare, which then deletes
the adapter, before the actaul deletion of the first efl_del happened,
which means it will throw an error. To avoid this we track if we are in
process of a unrealization, and if so, do not delete the item there.

Reviewed-by: YeongJong Lee <yj34.lee@samsung.com>
Differential Revision: https://phab.enlightenment.org/D7453
src/lib/elementary/elm_widget_item_static_focus.c