summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMarcel Hollerbach <marcel-hollerbach@t-online.de>2017-02-04 23:41:55 +0100
committerMarcel Hollerbach <marcel-hollerbach@t-online.de>2017-02-04 23:59:56 +0100
commit29cb2217b8dba1327801655d472668cfa6dc2d7c (patch)
tree11e144298ef039b1130acc45c6bef46f80b5fa88
parentcece2b53d735af12db5aa79143afdae64c17abfd (diff)
downloadefl-29cb2217b8dba1327801655d472668cfa6dc2d7c.tar.gz
elm_notify: null out allow events when its deleted
otherwise later dismisscalls to that object will lead to spammy error messages in the console
-rw-r--r--src/lib/elementary/elm_notify.c5
1 files changed, 4 insertions, 1 deletions
diff --git a/src/lib/elementary/elm_notify.c b/src/lib/elementary/elm_notify.c
index 26aec380fb..6bb58be036 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