forked from enlightenment/efl
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:
parent
6f87330fe2
commit
948d20ab54
|
@ -21,7 +21,7 @@ state_changed_cb(void *data EINA_UNUSED, Evas_Object *obj EINA_UNUSED, void *eve
|
||||||
}
|
}
|
||||||
|
|
||||||
static void
|
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)
|
if (elm_check_state_get(obj) == EINA_FALSE)
|
||||||
elm_object_text_set(obj, NULL);
|
elm_object_text_set(obj, NULL);
|
||||||
|
|
Loading…
Reference in New Issue