diff options
author | JunsuChoi <jsuya.choi@samsung.com> | 2018-08-10 11:02:16 +0900 |
---|---|---|
committer | Hermet Park <hermetpark@gmail.com> | 2018-08-10 11:02:53 +0900 |
commit | f461a0552d93f7751a8156f926a312dfb9d17945 (patch) | |
tree | 8e9929d360d18336e2285526ff43722b9c5360f0 | |
parent | f2adbe14529fd9a9391775e3d8b30a80b4b9cefd (diff) | |
download | efl-f461a0552d93f7751a8156f926a312dfb9d17945.tar.gz |
elm_image : Remove unnecessary test about image
Summary:
The elm_transit test is in test_transit.c.
Testing for elm_transit in test_image.c is unnecessary
Test Plan: elementary_test -to "image click"
Reviewers: Hermet, #reviewers, eunue
Reviewed By: Hermet, #reviewers
Subscribers: cedric, akanad, bowonryu, #reviewers, YOhoho, #committers, JackDanielZ, zmike
Tags: #efl
Differential Revision: https://phab.enlightenment.org/D6799
-rw-r--r-- | src/bin/elementary/test_image.c | 19 |
1 files changed, 0 insertions, 19 deletions
diff --git a/src/bin/elementary/test_image.c b/src/bin/elementary/test_image.c index e118ef885e..ce73f94c27 100644 --- a/src/bin/elementary/test_image.c +++ b/src/bin/elementary/test_image.c @@ -398,26 +398,7 @@ test_remote_image(void *data EINA_UNUSED, Evas_Object *obj EINA_UNUSED, void *e static void _img_clicked_cb(void *data, Evas_Object *obj, void *event_info EINA_UNUSED) { - Elm_Transit *trans; - static int degree = 0; - fprintf(stderr, "%p - clicked\n", obj); - - trans = elm_transit_add(); - elm_transit_object_add(trans, data); - if (degree == 0) - { - elm_transit_effect_rotation_add(trans, 0, 180); - degree = 180; - } - else - { - elm_transit_effect_rotation_add(trans, 180, 360); - degree = 0; - } - elm_transit_duration_set(trans, 3.0); - elm_transit_objects_final_state_keep_set(trans, EINA_TRUE); - elm_transit_go(trans); } void |