summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/bin/test_genlist.c8
1 files changed, 7 insertions, 1 deletions
diff --git a/src/bin/test_genlist.c b/src/bin/test_genlist.c
index 2d7e684d0..b9d84b13a 100644
--- a/src/bin/test_genlist.c
+++ b/src/bin/test_genlist.c
@@ -3808,6 +3808,12 @@ static const char *_gl20_items_text[] = {
3808 "Springfield", "Tallahassee", 3808 "Springfield", "Tallahassee",
3809 "Topeka", "Trenton" }; 3809 "Topeka", "Trenton" };
3810 3810
3811static void
3812_gl20_del_cb(void *data, Evas *e EINA_UNUSED, Evas_Object *obj EINA_UNUSED, void *event_info EINA_UNUSED)
3813{
3814 free(data);
3815}
3816
3811static char * 3817static char *
3812_gl20_text_get(void *data, Evas_Object *obj EINA_UNUSED, 3818_gl20_text_get(void *data, Evas_Object *obj EINA_UNUSED,
3813 const char *part EINA_UNUSED) 3819 const char *part EINA_UNUSED)
@@ -3994,7 +4000,7 @@ test_genlist20(void *data EINA_UNUSED, Evas_Object *obj EINA_UNUSED,
3994 evas_object_event_callback_add(en, EVAS_CALLBACK_KEY_DOWN, 4000 evas_object_event_callback_add(en, EVAS_CALLBACK_KEY_DOWN,
3995 _gl20_on_keydown, (void*)event_data); 4001 _gl20_on_keydown, (void*)event_data);
3996 evas_object_event_callback_add(gl, EVAS_CALLBACK_FREE, 4002 evas_object_event_callback_add(gl, EVAS_CALLBACK_FREE,
3997 _cleanup_cb, (void*)event_data); 4003 _gl20_del_cb, (void*)event_data);
3998 evas_object_smart_callback_add(en, "changed,user", 4004 evas_object_smart_callback_add(en, "changed,user",
3999 _gl20_search_settings_changed_cb, (void*)event_data); 4005 _gl20_search_settings_changed_cb, (void*)event_data);
4000 evas_object_smart_callback_add(tg, "changed", 4006 evas_object_smart_callback_add(tg, "changed",