Imported Upstream version 1.7.4
[platform/upstream/edje.git] / src / examples / lua_script.edc
index 23c2926..6365ec4 100644 (file)
@@ -67,7 +67,7 @@ collections {
             d = edje.size();
             D.clip:geom(10, 10, d.w - 20, d.h - 20);
             c = D.clip:clipees();
-            for i=1,table.getn(c),1 do
+            for i=1,#c,1 do
                d = c[i]:geom();
                print("lua::" .. i .. " geom = " .. d.x .. "," .. d.y .. " " .. d.w .. "x" .. d.h);
             end