cedric pushed a commit to branch master.

http://git.enlightenment.org/core/efl.git/commit/?id=3d94f477d4928fc0a6765ba1c535e3b2107de2ec

commit 3d94f477d4928fc0a6765ba1c535e3b2107de2ec
Author: Cedric BAIL <[email protected]>
Date:   Tue May 15 14:57:15 2018 -0700

    elementary: properly destroy block events object during destruction.
---
 src/lib/elementary/elm_notify.c | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/src/lib/elementary/elm_notify.c b/src/lib/elementary/elm_notify.c
index 586ba335c9..45c3d89fc1 100644
--- a/src/lib/elementary/elm_notify.c
+++ b/src/lib/elementary/elm_notify.c
@@ -461,7 +461,8 @@ _elm_notify_efl_canvas_group_group_del(Eo *obj, 
Elm_Notify_Data *sd)
    edje_object_signal_callback_del_full
       (sd->notify, "elm,action,hide,finished", "elm", _hide_finished_cb, obj);
    elm_notify_parent_set(obj, NULL);
-   elm_notify_allow_events_set(obj, EINA_FALSE);
+   // Allow events set with TRUE will lead to the destruction of 
sd->block_events.
+   elm_notify_allow_events_set(obj, EINA_TRUE);
    ecore_timer_del(sd->timer);
 
    ELM_SAFE_FREE(sd->notify, evas_object_del);

-- 


Reply via email to