aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorChris Michael <devilhorns@comcast.net>2018-07-19 19:17:54 +0200
committerBoris Faure <billiob@gmail.com>2018-07-19 19:19:02 +0200
commit05496d77a28b281a0616c87519bf697417fe2c19 (patch)
tree64a0864ed57a85530d156f02992a25dc5dab2143
parentcontrols: fix frame being still shown if new controls shows up while old is n... (diff)
downloadterminology-05496d77a28b281a0616c87519bf697417fe2c19.tar.gz
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
-rw-r--r--src/bin/controls.c8
1 files changed, 5 insertions, 3 deletions
diff --git a/src/bin/controls.c b/src/bin/controls.c
index 911800c..b28f47c 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