summaryrefslogtreecommitdiff
path: root/src/lib/edje/edje_calc.c
diff options
context:
space:
mode:
authorCarsten Haitzler (Rasterman) <raster@rasterman.com>2017-09-28 11:30:28 +0900
committerCarsten Haitzler (Rasterman) <raster@rasterman.com>2017-09-28 15:28:00 +0900
commit22466b991cfa462e48392a0cc517cbb805fbfda9 (patch)
tree383b1ba57e911b5f1f978c9a4ab047ffe8219a17 /src/lib/edje/edje_calc.c
parentbee7bf5767f5dc83eba88d740b1a729ca7077b9b (diff)
edje - fix check return of _edje_fetch
fixes CID 1381326
Diffstat (limited to 'src/lib/edje/edje_calc.c')
-rw-r--r--src/lib/edje/edje_calc.c11
1 files changed, 6 insertions, 5 deletions
diff --git a/src/lib/edje/edje_calc.c b/src/lib/edje/edje_calc.c
index 1500ab0e8e..3902ac4c2e 100644
--- a/src/lib/edje/edje_calc.c
+++ b/src/lib/edje/edje_calc.c
@@ -840,11 +840,12 @@ _edje_part_description_apply(Edje *ed, Edje_Real_Part *ep, const char *d1, doubl
840 (((pmin->w == pmax->w) && (pmin->h == pmax->h) && (pmin->w > 0) && (pmin->h > 0)) && 840 (((pmin->w == pmax->w) && (pmin->h == pmax->h) && (pmin->w > 0) && (pmin->h > 0)) &&
841 (((min->w != max->w) || (min->h != max->h) || (min->w <= 0) || (min->h <= 0))))) 841 (((min->w != max->w) || (min->h != max->h) || (min->w <= 0) || (min->h <= 0)))))
842 { 842 {
843 Edje *ted; 843 Edje *ted = _edje_fetch(ep->typedata.swallow->swallowed_object);
844 844 if (ted)
845 ted = _edje_fetch(ep->typedata.swallow->swallowed_object); 845 {
846 ted->recalc_call = ted->dirty = ted->recalc_hints = EINA_TRUE; 846 ted->recalc_call = ted->dirty = ted->recalc_hints = EINA_TRUE;
847 _edje_recalc(ted); 847 _edje_recalc(ted);
848 }
848 } 849 }
849 850
850 edje_object_mirrored_set(ep->typedata.swallow->swallowed_object, 851 edje_object_mirrored_set(ep->typedata.swallow->swallowed_object,