bu5hm4n pushed a commit to branch master.

http://git.enlightenment.org/core/efl.git/commit/?id=29cb2217b8dba1327801655d472668cfa6dc2d7c

commit 29cb2217b8dba1327801655d472668cfa6dc2d7c
Author: Marcel Hollerbach <[email protected]>
Date:   Sat Feb 4 23:41:55 2017 +0100

    elm_notify: null out allow events when its deleted
    
    otherwise later dismisscalls to that object will lead to spammy error
    messages in the console
---
 src/lib/elementary/elm_notify.c | 5 ++++-
 1 file changed, 4 insertions(+), 1 deletion(-)

diff --git a/src/lib/elementary/elm_notify.c b/src/lib/elementary/elm_notify.c
index 26aec38..6bb58be 100644
--- a/src/lib/elementary/elm_notify.c
+++ b/src/lib/elementary/elm_notify.c
@@ -688,7 +688,10 @@ _elm_notify_allow_events_set(Eo *obj, Elm_Notify_Data *sd, 
Eina_Bool allow)
           _block_area_clicked_cb, obj);
      }
    else
-     evas_object_del(sd->block_events);
+     {
+        evas_object_del(sd->block_events);
+        sd->block_events = NULL;
+     }
 }
 
 EOLIAN static Eina_Bool

-- 


Reply via email to