efl_ui_table: remove callbacks when item is removed

everything else is wrong.

Reviewed-by: YeongJong Lee <yj34.lee@samsung.com>
Differential Revision: https://phab.enlightenment.org/D8556
This commit is contained in:
Marcel Hollerbach 2019-04-04 13:46:53 +02:00
parent f7baa89ca9
commit 37a5d6c0d1
1 changed files with 1 additions and 0 deletions

View File

@ -468,6 +468,7 @@ end:
eina_inlist_remove(EINA_INLIST_GET(pd->items), EINA_INLIST_GET(gi));
pd->count--;
efl_key_data_set(subobj, TABLE_ITEM_KEY, NULL);
efl_event_callback_array_del(subobj, subobj_callbacks(), obj);
free(gi);
}