summaryrefslogtreecommitdiff
path: root/src/lib/evas/canvas/evas_vg_container.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/lib/evas/canvas/evas_vg_container.c')
-rw-r--r--src/lib/evas/canvas/evas_vg_container.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/src/lib/evas/canvas/evas_vg_container.c b/src/lib/evas/canvas/evas_vg_container.c
index 7534150..704d6c1 100644
--- a/src/lib/evas/canvas/evas_vg_container.c
+++ b/src/lib/evas/canvas/evas_vg_container.c
@@ -66,15 +66,15 @@ _efl_vg_container_efl_object_destructor(Eo *obj,
66 66
67static void 67static void
68_efl_vg_container_efl_vg_bounds_get(Eo *obj EINA_UNUSED, 68_efl_vg_container_efl_vg_bounds_get(Eo *obj EINA_UNUSED,
69 Efl_VG_Container_Data *pd, 69 Efl_VG_Container_Data *pd,
70 Eina_Rectangle *r) 70 Eina_Rect *r)
71{ 71{
72 Eina_Rectangle s; 72 Eina_Rect s;
73 Eina_Bool first = EINA_TRUE; 73 Eina_Bool first = EINA_TRUE;
74 Eina_List *l; 74 Eina_List *l;
75 Eo *child; 75 Eo *child;
76 76
77 EINA_RECTANGLE_SET(&s, -1, -1, 0, 0); 77 EINA_RECT_SET(s, -1, -1, 0, 0);
78 78
79 EINA_LIST_FOREACH(pd->children, l, child) 79 EINA_LIST_FOREACH(pd->children, l, child)
80 { 80 {
@@ -86,7 +86,7 @@ _efl_vg_container_efl_vg_bounds_get(Eo *obj EINA_UNUSED,
86 else 86 else
87 { 87 {
88 efl_vg_bounds_get(child, &s); 88 efl_vg_bounds_get(child, &s);
89 eina_rectangle_union(r, &s); 89 eina_rectangle_union(&r->rect, &s.rect);
90 } 90 }
91 } 91 }
92} 92}