aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMike Blumenkrantz <zmike@samsung.com>2018-08-21 10:26:32 -0400
committerMike Blumenkrantz <zmike@samsung.com>2018-08-21 10:26:32 -0400
commitdcac8b24f189da25e0a62f6c2ba4243650d5f678 (patch)
tree76f5913ec52e6d338765d0429127f75029b970a0
parentci: explicitly clone and build an external app during distcheck (diff)
downloadefl-dcac8b24f189da25e0a62f6c2ba4243650d5f678.tar.gz
elm/genlist: unset callbacks flag when destroying view object in unrealize
Summary: failing to unset this prevents callbacks from being re-added when the item is next realized, resulting in items which cannot be interacted with ref https://phab.enlightenment.org/T7292 Reviewers: SanghyeonLee Reviewed By: SanghyeonLee Subscribers: cedric, #reviewers, #committers Tags: #efl_widgets Maniphest Tasks: https://phab.enlightenment.org/T7292 Differential Revision: https://phab.enlightenment.org/D6832
-rw-r--r--src/lib/elementary/elm_genlist.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/lib/elementary/elm_genlist.c b/src/lib/elementary/elm_genlist.c
index a5846719be..7283f15332 100644
--- a/src/lib/elementary/elm_genlist.c
+++ b/src/lib/elementary/elm_genlist.c
@@ -5286,6 +5286,7 @@ _item_unrealize(Elm_Gen_Item *it)
if (!_item_cache_add(it, _content_cache_add(it, &cache)))
{
ELM_SAFE_FREE(VIEW(it), efl_del);
+ it->callbacks = EINA_FALSE;
ELM_SAFE_FREE(it->spacer, evas_object_del);
EINA_LIST_FREE(cache, c)
{