From f461a0552d93f7751a8156f926a312dfb9d17945 Mon Sep 17 00:00:00 2001 From: JunsuChoi Date: Fri, 10 Aug 2018 11:02:16 +0900 Subject: 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 --- src/bin/elementary/test_image.c | 19 ------------------- 1 file changed, 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 -- cgit v1.2.1