summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChris Michael <cp.michael@samsung.com>2018-07-31 17:23:46 -0400
committerMike Blumenkrantz <zmike@samsung.com>2018-07-31 17:24:10 -0400
commit2f9a65844e64517e129cce3b82f44a5f4f1fc562 (patch)
tree7ced6537b05f147f802c2303a2993b76c610dae8
parent35622614d0ee6510692bb3f4a9fddd260e12ba79 (diff)
elementary: Check for valid object before calling smart calculate
Summary: Small patch fixes an issue where evas_object_smart_calculate was being called with a NULL box. ref T7030 Depends on D6704 Reviewers: zmike Reviewed By: zmike Subscribers: cedric, #committers, zmike Tags: #efl Maniphest Tasks: T7030 Differential Revision: https://phab.enlightenment.org/D6710
-rw-r--r--src/lib/elementary/elm_panel.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/lib/elementary/elm_panel.c b/src/lib/elementary/elm_panel.c
index b85f9880ed..39ea9853dc 100644
--- a/src/lib/elementary/elm_panel.c
+++ b/src/lib/elementary/elm_panel.c
@@ -60,6 +60,7 @@ _elm_panel_elm_layout_sizing_eval(Eo *obj, Elm_Panel_Data *sd)
60{ 60{
61 Evas_Coord mw = 0, mh = 0; 61 Evas_Coord mw = 0, mh = 0;
62 62
63 EINA_SAFETY_ON_FALSE_RETURN(efl_finalized_get(obj));
63 ELM_WIDGET_DATA_GET_OR_RETURN(obj, wd); 64 ELM_WIDGET_DATA_GET_OR_RETURN(obj, wd);
64 65
65 if (sd->delete_me) return; 66 if (sd->delete_me) return;