forked from enlightenment/efl
efl_ui/layout: do not trigger sizing eval on hint change if object is dead
Summary: this fixes a huge number of errors during object deletion @fix Depends on D8979 Reviewers: devilhorns Reviewed By: devilhorns Subscribers: cedric, #reviewers, #committers Tags: #efl Differential Revision: https://phab.enlightenment.org/D8987
This commit is contained in:
parent
5e3532655b
commit
1986a30162
|
@ -144,6 +144,7 @@ _on_sub_object_size_hint_change(void *data,
|
|||
Evas_Object *obj EINA_UNUSED,
|
||||
void *event_info EINA_UNUSED)
|
||||
{
|
||||
if (!efl_alive_get(data)) return;
|
||||
ELM_WIDGET_DATA_GET_OR_RETURN(data, wd);
|
||||
elm_layout_sizing_eval(data);
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue