summaryrefslogtreecommitdiff
path: root/src/lib/evas/canvas/efl_animation_translate.c
diff options
context:
space:
mode:
authorJaehyun Cho <jae_hyun.cho@samsung.com>2017-10-23 13:58:59 +0900
committerJaehyun Cho <jae_hyun.cho@samsung.com>2017-10-23 15:05:08 +0900
commit74155b6e3424fe2cf9c6a92e0853e627ba865359 (patch)
treee13b7e85a2c54997e3589eadb68d84adbbd1b155 /src/lib/evas/canvas/efl_animation_translate.c
parent348fc0b06ef11be539066faee291cdbda8a58ebe (diff)
efl_animation: Remove unnecessary macro
Diffstat (limited to '')
-rw-r--r--src/lib/evas/canvas/efl_animation_translate.c10
1 files changed, 0 insertions, 10 deletions
diff --git a/src/lib/evas/canvas/efl_animation_translate.c b/src/lib/evas/canvas/efl_animation_translate.c
index 79cf8f131d..074971d294 100644
--- a/src/lib/evas/canvas/efl_animation_translate.c
+++ b/src/lib/evas/canvas/efl_animation_translate.c
@@ -8,8 +8,6 @@ _efl_animation_translate_translate_set(Eo *eo_obj,
8 Evas_Coord to_x, 8 Evas_Coord to_x,
9 Evas_Coord to_y) 9 Evas_Coord to_y)
10{ 10{
11 EFL_ANIMATION_TRANSLATE_CHECK_OR_RETURN(eo_obj);
12
13 pd->from.move_x = from_x; 11 pd->from.move_x = from_x;
14 pd->from.move_y = from_y; 12 pd->from.move_y = from_y;
15 13
@@ -41,8 +39,6 @@ _efl_animation_translate_translate_get(Eo *eo_obj,
41 Evas_Coord *to_x, 39 Evas_Coord *to_x,
42 Evas_Coord *to_y) 40 Evas_Coord *to_y)
43{ 41{
44 EFL_ANIMATION_TRANSLATE_CHECK_OR_RETURN(eo_obj);
45
46 //Update relative move based on absolute coordinate 42 //Update relative move based on absolute coordinate
47 if (!pd->use_rel_move) 43 if (!pd->use_rel_move)
48 { 44 {
@@ -79,8 +75,6 @@ _efl_animation_translate_translate_absolute_set(Eo *eo_obj,
79 Evas_Coord to_x, 75 Evas_Coord to_x,
80 Evas_Coord to_y) 76 Evas_Coord to_y)
81{ 77{
82 EFL_ANIMATION_TRANSLATE_CHECK_OR_RETURN(eo_obj);
83
84 pd->from.x = from_x; 78 pd->from.x = from_x;
85 pd->from.y = from_y; 79 pd->from.y = from_y;
86 80
@@ -112,8 +106,6 @@ _efl_animation_translate_translate_absolute_get(Eo *eo_obj,
112 Evas_Coord *to_x, 106 Evas_Coord *to_x,
113 Evas_Coord *to_y) 107 Evas_Coord *to_y)
114{ 108{
115 EFL_ANIMATION_TRANSLATE_CHECK_OR_RETURN(eo_obj);
116
117 //Update absolute coordinate based on relative move 109 //Update absolute coordinate based on relative move
118 if (pd->use_rel_move) 110 if (pd->use_rel_move)
119 { 111 {
@@ -146,8 +138,6 @@ EOLIAN static Efl_Animation_Object *
146_efl_animation_translate_efl_animation_object_create(Eo *eo_obj, 138_efl_animation_translate_efl_animation_object_create(Eo *eo_obj,
147 Efl_Animation_Translate_Data *pd) 139 Efl_Animation_Translate_Data *pd)
148{ 140{
149 EFL_ANIMATION_TRANSLATE_CHECK_OR_RETURN(eo_obj, NULL);
150
151 Efl_Animation_Object_Translate *anim_obj 141 Efl_Animation_Object_Translate *anim_obj
152 = efl_add(EFL_ANIMATION_OBJECT_TRANSLATE_CLASS, NULL); 142 = efl_add(EFL_ANIMATION_OBJECT_TRANSLATE_CLASS, NULL);
153 143