From 6e77c039a781d662fe42b267c766384c846711f8 Mon Sep 17 00:00:00 2001 From: Mike Blumenkrantz Date: Wed, 29 May 2019 09:26:15 -0400 Subject: [PATCH] efl_ui/layout: only freeze internal layout during delete if it exists Summary: if the layout object does not exist here then there is nothing to freeze @fix Depends on D8980 Reviewers: cedric Reviewed By: cedric Subscribers: cedric, #reviewers, #committers Tags: #efl Differential Revision: https://phab.enlightenment.org/D8981 --- src/lib/elementary/efl_ui_layout.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/lib/elementary/efl_ui_layout.c b/src/lib/elementary/efl_ui_layout.c index 5f779b76b9..5547ae94bf 100644 --- a/src/lib/elementary/efl_ui_layout.c +++ b/src/lib/elementary/efl_ui_layout.c @@ -769,7 +769,9 @@ _efl_ui_layout_base_efl_canvas_group_group_del(Eo *obj, Efl_Ui_Layout_Data *sd) ELM_WIDGET_DATA_GET_OR_RETURN(obj, wd); - elm_layout_freeze(obj); + /* freeze edje object if it exists */ + if (wd->resize_obj) + elm_layout_freeze(obj); EINA_LIST_FREE(sd->subs, sub_d) {