aboutsummaryrefslogtreecommitdiffstats
path: root/legacy/elementary/src/bin/test_transit.c
diff options
context:
space:
mode:
authorCarsten Haitzler <raster@rasterman.com>2011-01-11 05:58:07 +0000
committerCarsten Haitzler <raster@rasterman.com>2011-01-11 05:58:07 +0000
commitc2d396e11a137617be8229b16e40bfa2e47e2419 (patch)
tree65c5f03cdeef42b941b000eb35511799e1669058 /legacy/elementary/src/bin/test_transit.c
parentFrom: sangho park <gouache95@gmail.com> (diff)
downloadefl-c2d396e11a137617be8229b16e40bfa2e47e2419.tar.gz
add in proper declaration of elm_transit_add with void as a param -
and fix from ChunEon Park <chuneon.park@samsung.com> for it tin test app. SVN revision: 56040
Diffstat (limited to 'legacy/elementary/src/bin/test_transit.c')
-rw-r--r--legacy/elementary/src/bin/test_transit.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/legacy/elementary/src/bin/test_transit.c b/legacy/elementary/src/bin/test_transit.c
index 37ee777396..2d6247cc03 100644
--- a/legacy/elementary/src/bin/test_transit.c
+++ b/legacy/elementary/src/bin/test_transit.c
@@ -505,7 +505,7 @@ test_transit8(void *data __UNUSED__, Evas_Object *obj __UNUSED__, void *event_in
evas_object_show(win);
/* Adding Transit */
- trans = elm_transit_add(5.0);
+ trans = elm_transit_add();
elm_transit_auto_reverse_set(trans, EINA_TRUE);
elm_transit_tween_mode_set(trans, ELM_TRANSIT_TWEEN_MODE_DECELERATE);
elm_transit_repeat_times_set(trans, -1);
@@ -514,6 +514,8 @@ test_transit8(void *data __UNUSED__, Evas_Object *obj __UNUSED__, void *event_in
elm_transit_effect_add(trans,
_custom_op, effect_context,
_custom_context_free);
+ elm_transit_duration_set(trans, 5.0);
+ elm_transit_go(trans);
}
#endif