From 05496d77a28b281a0616c87519bf697417fe2c19 Mon Sep 17 00:00:00 2001 From: Chris Michael Date: Thu, 19 Jul 2018 19:17:54 +0200 Subject: [PATCH] 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 --- src/bin/controls.c | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/src/bin/controls.c b/src/bin/controls.c index 911800c0..b28f47c1 100644 --- a/src/bin/controls.c +++ b/src/bin/controls.c @@ -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