stefan pushed a commit to branch master.

http://git.enlightenment.org/core/efl.git/commit/?id=272c3d9a665039711c1045b6fc540b2486139d9c

commit 272c3d9a665039711c1045b6fc540b2486139d9c
Author: Mike Blumenkrantz <zm...@samsung.com>
Date:   Thu Apr 2 13:58:26 2020 -0400

    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 <ste...@datenfreihafen.org>
    Reviewed-by: Marcel Hollerbach <m...@marcel-hollerbach.de>
    Differential Revision: https://phab.enlightenment.org/D11643
---
 src/lib/elementary/elc_hoversel.c | 2 --
 1 file changed, 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)
 {
    Elm_Object_Item *eo_item;
 
-   evas_object_event_callback_del(sd->hover, EVAS_CALLBACK_DEL, _auto_update);
    EINA_LIST_FREE(sd->items, eo_item)
      {
         ELM_HOVERSEL_ITEM_DATA_GET(eo_item, it);
@@ -820,7 +819,6 @@ _elm_hoversel_clear(Eo *obj EINA_UNUSED, Elm_Hoversel_Data 
*sd)
 {
    Elm_Object_Item *it;
 
-   evas_object_event_callback_del(sd->hover, EVAS_CALLBACK_DEL, _auto_update);
    EINA_LIST_FREE(sd->items, it)
      {
         efl_del(it);

-- 


Reply via email to