elc_naviframe: fix to delete item once by elm_object_item_del in pop_cb 00/227000/1
authorJaehyun Cho <jae_hyun.cho@samsung.com>
Fri, 6 Mar 2020 04:25:04 +0000 (13:25 +0900)
committerJaehyun Cho <jae_hyun.cho@samsung.com>
Mon, 9 Mar 2020 03:24:47 +0000 (12:24 +0900)
commit33ce95a0318e644bb15f28f5f4056874c5adb5c2
treeb3cc3ab3bb8b84c4d6a6d9d3da597a72883ccfee
parent80c7e8093f8c097b2999e07aa9934dd67509c8a1
elc_naviframe: fix to delete item once by elm_object_item_del in pop_cb

If elm_object_item_del is called in pop_cb and pop_cb returns
EINA_FALSE, then the given item is destructed by _item_noref when
efl_unref is called after pop_cb.

After the above destruction, efl_del is called after the above efl_unref
and it deletes the item again.

Not to delete item after the item is destructed, efl_del after pop_cb is
removed.

Change-Id: Icc3716e543d8f017f054bac62c2b24809b76e8da
src/lib/elementary/elc_naviframe.c