test_check: fix build warning

Summary:  In state_changed_cb2 callback function, obj is used. so it should not be EINA_UNUSED

Reviewers: Jaehyun_Cho, cedric, jpeg

Differential Revision: https://phab.enlightenment.org/D5122
This commit is contained in:
JinYong Park 2017-08-23 13:52:24 +09:00 committed by Jaehyun Cho
parent 6f87330fe2
commit 948d20ab54
1 changed files with 1 additions and 1 deletions

View File

@ -21,7 +21,7 @@ state_changed_cb(void *data EINA_UNUSED, Evas_Object *obj EINA_UNUSED, void *eve
}
static void
state_changed_cb2(void *data EINA_UNUSED, Evas_Object *obj EINA_UNUSED, void *event_info EINA_UNUSED)
state_changed_cb2(void *data EINA_UNUSED, Evas_Object *obj, void *event_info EINA_UNUSED)
{
if (elm_check_state_get(obj) == EINA_FALSE)
elm_object_text_set(obj, NULL);