summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMike Blumenkrantz <zmike@samsung.com>2020-04-02 13:58:26 -0400
committerStefan Schmidt <s.schmidt@samsung.com>2020-04-16 14:34:07 +0200
commit272c3d9a665039711c1045b6fc540b2486139d9c (patch)
treefcc3285c513f12867152ac9999f07d6b0eadb30c
parentdf0a201021f4e83e52f38ebda52b5fd042fe5356 (diff)
elm/hoversel: remove unnecessary internal callback deletion
this already happens automatically on every item destruction and passes the item data through there to ensure the correct callback is removed Reviewed-by: Stefan Schmidt <stefan@datenfreihafen.org> Reviewed-by: Marcel Hollerbach <mail@marcel-hollerbach.de> Differential Revision: https://phab.enlightenment.org/D11643
-rw-r--r--src/lib/elementary/elc_hoversel.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/src/lib/elementary/elc_hoversel.c b/src/lib/elementary/elc_hoversel.c
index 857fe81dc2..666031f59f 100644
--- a/src/lib/elementary/elc_hoversel.c
+++ b/src/lib/elementary/elc_hoversel.c
@@ -667,7 +667,6 @@ _elm_hoversel_efl_canvas_group_group_del(Eo *obj, Elm_Hoversel_Data *sd)
667{ 667{
668 Elm_Object_Item *eo_item; 668 Elm_Object_Item *eo_item;
669 669
670 evas_object_event_callback_del(sd->hover, EVAS_CALLBACK_DEL, _auto_update);
671 EINA_LIST_FREE(sd->items, eo_item) 670 EINA_LIST_FREE(sd->items, eo_item)
672 { 671 {
673 ELM_HOVERSEL_ITEM_DATA_GET(eo_item, it); 672 ELM_HOVERSEL_ITEM_DATA_GET(eo_item, it);
@@ -820,7 +819,6 @@ _elm_hoversel_clear(Eo *obj EINA_UNUSED, Elm_Hoversel_Data *sd)
820{ 819{
821 Elm_Object_Item *it; 820 Elm_Object_Item *it;
822 821
823 evas_object_event_callback_del(sd->hover, EVAS_CALLBACK_DEL, _auto_update);
824 EINA_LIST_FREE(sd->items, it) 822 EINA_LIST_FREE(sd->items, it)
825 { 823 {
826 efl_del(it); 824 efl_del(it);