summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMike Blumenkrantz <zmike@samsung.com>2019-05-29 09:31:12 -0400
committerMike Blumenkrantz <zmike@samsung.com>2019-05-29 12:29:04 -0400
commit3ef9e5ac4c85f7701f312b2cc83aa6f8919d3041 (patch)
tree83162c3745536d1c09256620ea33e2ec0802be4b
parentf5d92b52973fb62d171e56396f7e517c79c6efe7 (diff)
elm/list: return early from min_limit_cb if list object is dead
Summary: no further recalculating should be done on dead objects @fix Depends on D8998 Reviewers: cedric Reviewed By: cedric Subscribers: cedric, #reviewers, #committers Tags: #efl Differential Revision: https://phab.enlightenment.org/D8999
-rw-r--r--src/lib/elementary/elm_list.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/lib/elementary/elm_list.c b/src/lib/elementary/elm_list.c
index 4c936ab1b1..79b90cff16 100644
--- a/src/lib/elementary/elm_list.c
+++ b/src/lib/elementary/elm_list.c
@@ -751,6 +751,7 @@ _elm_list_content_min_limit_cb(Evas_Object *obj,
751 751
752 if ((sd->mode == ELM_LIST_LIMIT) || 752 if ((sd->mode == ELM_LIST_LIMIT) ||
753 (sd->mode == ELM_LIST_EXPAND)) return; 753 (sd->mode == ELM_LIST_EXPAND)) return;
754 if (!efl_alive_get(obj)) return;
754 sd->scr_minw = !!w; 755 sd->scr_minw = !!w;
755 sd->scr_minh = !!h; 756 sd->scr_minh = !!h;
756 757