terminology: Fix evas event callback

Summary:
_cb_del was causing a compiler warning about incorrect function
parameters...basically the function was not declared to match an
evas_event_callback. This patch fixes that issue

@fix

Reviewers: billiob

Reviewed By: billiob

Differential Revision: https://phab.enlightenment.org/D6629
This commit is contained in:
Chris Michael 2018-07-19 19:17:54 +02:00 committed by Boris Faure
parent 7b4272995c
commit b3081f858f
1 changed files with 5 additions and 3 deletions

View File

@ -49,13 +49,15 @@ _cb_sel_off(void *data,
elm_object_disabled_set(bt_copy, EINA_TRUE);
}
static Eina_Bool
_cb_del(void *data)
static void
_cb_del(void *data,
Evas *_e EINA_UNUSED,
Evas_Object *_obj EINA_UNUSED,
void *_ev EINA_UNUSED)
{
Evas_Object *frame = data;
evas_object_del(frame);
elm_cache_all_flush();
return EINA_FALSE;
}
static void