summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMarcel Hollerbach <mail@marcel-hollerbach.de>2019-09-19 09:27:59 +0200
committerCedric Bail <cedric.bail@free.fr>2019-09-19 14:37:21 -0700
commit21fe2bdc411cba7443d26c17fbb4c819d3edc916 (patch)
tree78dde8d039afe0e7a2ff411761291bf7f3400611
parent393530b770da3cb5680ff2a3de5ee166310954cf (diff)
downloadefl-21fe2bdc411cba7443d26c17fbb4c819d3edc916.tar.gz
eo: custom created legacy events should be unfreezable
a while back we have moved event submission from custom lists to eo events. We also merged together the freeze and thaw functions, however, this brought up one bug. smart_callbacks and the likes (those that used custom lists before) are not effected by the legacy freeze and thaw functions. This means, we should declare these legacy wrapper objects unfreezable in order to obtain this behaviour. Reviewed-by: Cedric BAIL <cedric.bail@free.fr> Reviewed-by: SangHyeon Jade Lee <sh10233.lee@samsung.com> Differential Revision: https://phab.enlightenment.org/D10016
-rw-r--r--src/lib/eo/eo_base_class.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/lib/eo/eo_base_class.c b/src/lib/eo/eo_base_class.c
index d9edf15a90..782a57f52e 100644
--- a/src/lib/eo/eo_base_class.c
+++ b/src/lib/eo/eo_base_class.c
@@ -1132,6 +1132,7 @@ efl_object_legacy_only_event_description_get(const char *_event_name)
event_desc = calloc(1, sizeof(Efl_Event_Description));
event_desc->name = event_name;
event_desc->legacy_is = EINA_TRUE;
+ event_desc->unfreezable = EINA_TRUE;
eina_hash_add(_legacy_events_hash, event_name, event_desc);
}
else