* edje: Fix a warning.
authorcedric <cedric@7cbeb6ba-43b4-40fd-8cce-4c39aea84d33>
Fri, 19 Feb 2010 18:43:08 +0000 (18:43 +0000)
committercedric <cedric@7cbeb6ba-43b4-40fd-8cce-4c39aea84d33>
Fri, 19 Feb 2010 18:43:08 +0000 (18:43 +0000)
Please review as I am not sure why this code was written as the beginning.

git-svn-id: http://svn.enlightenment.org/svn/e/trunk/edje@46318 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

src/lib/edje_calc.c

index 36d6d88..e700f97 100644 (file)
@@ -2384,7 +2384,7 @@ _edje_part_recalc(Edje *ed, Edje_Real_Part *ep, int flags)
                             const Edje_Perspective *ps;
                             
                             // fixme: a tad inefficient as this is a has lookup
-                            ps = edje_object_perspective_get(ed->evas);
+                            ps = edje_object_perspective_get(ed->obj);
                             if (ps)
                               {
                                  px = ps->px; py = ps->py;