forked from enlightenment/efl
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
This commit is contained in:
parent
393530b770
commit
21fe2bdc41
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue