forked from enlightenment/efl
elm_notify: null out allow events when its deleted
otherwise later dismisscalls to that object will lead to spammy error messages in the console
This commit is contained in:
parent
cece2b53d7
commit
29cb2217b8
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue