summaryrefslogtreecommitdiff
path: root/legacy
diff options
context:
space:
mode:
authorCedric BAIL <cedric.bail@free.fr>2010-12-09 10:33:23 +0000
committerCedric BAIL <cedric.bail@free.fr>2010-12-09 10:33:23 +0000
commit30099cb45fda486845ae255918a401a605f1705f (patch)
tree6e9aee658f63deadb1b37b57384e7c7b59b9cff3 /legacy
parentef5c356153d3a99edca63188e58fef28f20c6fef (diff)
* evas: fix polygon position on clear.
Patch by YUNHAN KIM <yhan.kim@samsung.com> SVN revision: 55404
Diffstat (limited to 'legacy')
-rw-r--r--legacy/evas/src/lib/canvas/evas_object_polygon.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/legacy/evas/src/lib/canvas/evas_object_polygon.c b/legacy/evas/src/lib/canvas/evas_object_polygon.c
index bf738a9e39..dff5cc42a2 100644
--- a/legacy/evas/src/lib/canvas/evas_object_polygon.c
+++ b/legacy/evas/src/lib/canvas/evas_object_polygon.c
@@ -230,6 +230,8 @@ evas_object_polygon_points_clear(Evas_Object *obj)
230 free(o->points->data); 230 free(o->points->data);
231 o->points = eina_list_remove(o->points, o->points->data); 231 o->points = eina_list_remove(o->points, o->points->data);
232 } 232 }
233 obj->cur.geometry.x = 0;
234 obj->cur.geometry.y = 0;
233 obj->cur.geometry.w = 0; 235 obj->cur.geometry.w = 0;
234 obj->cur.geometry.h = 0; 236 obj->cur.geometry.h = 0;
235//// obj->cur.cache.geometry.validity = 0; 237//// obj->cur.cache.geometry.validity = 0;