summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMike Blumenkrantz <zmike@samsung.com>2019-05-29 09:26:15 -0400
committerMike Blumenkrantz <zmike@samsung.com>2019-05-29 12:29:04 -0400
commit6e77c039a781d662fe42b267c766384c846711f8 (patch)
treecbe94992b10c54d778d7dcb6cb570b0104eae8fd
parentf4d13d3671c638a89173cf054586b5b2f5504842 (diff)
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
-rw-r--r--src/lib/elementary/efl_ui_layout.c4
1 files changed, 3 insertions, 1 deletions
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)
769 769
770 ELM_WIDGET_DATA_GET_OR_RETURN(obj, wd); 770 ELM_WIDGET_DATA_GET_OR_RETURN(obj, wd);
771 771
772 elm_layout_freeze(obj); 772 /* freeze edje object if it exists */
773 if (wd->resize_obj)
774 elm_layout_freeze(obj);
773 775
774 EINA_LIST_FREE(sd->subs, sub_d) 776 EINA_LIST_FREE(sd->subs, sub_d)
775 { 777 {