added one temporary exception
authorchuneon.park <chuneon.park@samsung.com>
Mon, 14 Mar 2011 00:13:33 +0000 (09:13 +0900)
committerchuneon.park <chuneon.park@samsung.com>
Mon, 14 Mar 2011 00:13:33 +0000 (09:13 +0900)
Change-Id: I5c722867d69fee158cc7ec78dcdf196aba3f576d

src/lib/edje_calc.c

index db1f45b..fc22f47 100644 (file)
@@ -381,7 +381,11 @@ _edje_recalc(Edje *ed)
          }
      }
    if (ed->postponed) return;
-   evas_object_smart_changed(ed->obj);
+   //TODO: need to find out "when", "how" ed->obj can be deleted.
+   //if ed->obj can be deleted then this expception handling is granted.
+   //otherwise, we should fix app-usage and remove this handling.
+   if (ed->obj)
+     evas_object_smart_changed(ed->obj);
    ed->postponed = 1;
 }