summaryrefslogtreecommitdiff
path: root/src/lib/edje/edje_embryo.c
diff options
context:
space:
mode:
authorJean-Philippe Andre <jp.andre@samsung.com>2017-09-06 15:14:07 +0900
committerJean-Philippe Andre <jp.andre@samsung.com>2017-09-13 09:57:05 +0900
commit46001cde383997bd440c1d39e95ed8ffec7074cf (patch)
tree942af55c68f3a059b4207d114d9bb289ab09bf85 /src/lib/edje/edje_embryo.c
parent7e2382853ee54a7e0a92a14cde52b1de5fa7313a (diff)
edje: Remove use of smart clipped data
This removes dependency on a legacy structure. Edje object does not change the smart data, unlike evas box and grid.
Diffstat (limited to 'src/lib/edje/edje_embryo.c')
-rw-r--r--src/lib/edje/edje_embryo.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/lib/edje/edje_embryo.c b/src/lib/edje/edje_embryo.c
index 4f6812f71b..f72899153a 100644
--- a/src/lib/edje/edje_embryo.c
+++ b/src/lib/edje/edje_embryo.c
@@ -892,7 +892,7 @@ _edje_embryo_fn_get_mouse(Embryo_Program *ep, Embryo_Cell *params)
892 892
893 CHKPARAM(2); 893 CHKPARAM(2);
894 ed = embryo_program_data_get(ep); 894 ed = embryo_program_data_get(ep);
895 evas_pointer_canvas_xy_get(ed->base->evas, &x, &y); 895 evas_pointer_canvas_xy_get(ed->base.evas, &x, &y);
896 x -= ed->x; 896 x -= ed->x;
897 y -= ed->y; 897 y -= ed->y;
898 SETINT((int)x, params[1]); 898 SETINT((int)x, params[1]);
@@ -908,7 +908,7 @@ _edje_embryo_fn_get_mouse_buttons(Embryo_Program *ep, Embryo_Cell *params)
908 908
909 CHKPARAM(0); 909 CHKPARAM(0);
910 ed = embryo_program_data_get(ep); 910 ed = embryo_program_data_get(ep);
911 return evas_pointer_button_down_mask_get(ed->base->evas); 911 return evas_pointer_button_down_mask_get(ed->base.evas);
912} 912}
913 913
914/* emit(sig[], src[]) */ 914/* emit(sig[], src[]) */
@@ -3788,7 +3788,7 @@ _edje_embryo_fn_part_swallow(Embryo_Program *ep, Embryo_Cell *params)
3788 rp = ed->table_parts[part_id % ed->table_parts_size]; 3788 rp = ed->table_parts[part_id % ed->table_parts_size];
3789 if (!rp) return 0; 3789 if (!rp) return 0;
3790 3790
3791 new_obj = edje_object_add(ed->base->evas); 3791 new_obj = edje_object_add(ed->base.evas);
3792 if (!new_obj) return 0; 3792 if (!new_obj) return 0;
3793 3793
3794 if (!edje_object_file_set(new_obj, ed->file->path, group_name)) 3794 if (!edje_object_file_set(new_obj, ed->file->path, group_name))