summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChristopher Michael <cpmichael1@comcast.net>2012-09-10 08:00:59 +0000
committerChristopher Michael <cpmichael1@comcast.net>2012-09-10 08:00:59 +0000
commit158742d8b6592d4af92c9c11fc8ca10593ac7de6 (patch)
treecbfa54f055b47fced07e98929e125253d585771f
parent0eaa7cea4f931d0f922fce92b28817842359adca (diff)
Edje: edje_fetch can return NULL so we should check that we have a
valid edje from the parent before trying to use it. SVN revision: 76371
-rw-r--r--legacy/edje/src/lib/edje_util.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/legacy/edje/src/lib/edje_util.c b/legacy/edje/src/lib/edje_util.c
index 093145be55..17e284fea5 100644
--- a/legacy/edje/src/lib/edje_util.c
+++ b/legacy/edje/src/lib/edje_util.c
@@ -2499,7 +2499,7 @@ _recalc_extern_parent(Evas_Object *obj)
2499 Edje *ed; 2499 Edje *ed;
2500 2500
2501 parent = evas_object_smart_parent_get(obj); 2501 parent = evas_object_smart_parent_get(obj);
2502 ed = _edje_fetch(parent); 2502 if (!(ed = _edje_fetch(parent))) return;
2503 2503
2504 ed->dirty = EINA_TRUE; 2504 ed->dirty = EINA_TRUE;
2505 ed->recalc_call = EINA_TRUE; // ZZZ: ??? 2505 ed->recalc_call = EINA_TRUE; // ZZZ: ???