cedric pushed a commit to branch master.

http://git.enlightenment.org/core/efl.git/commit/?id=21fe2bdc411cba7443d26c17fbb4c819d3edc916

commit 21fe2bdc411cba7443d26c17fbb4c819d3edc916
Author: Marcel Hollerbach <m...@marcel-hollerbach.de>
Date:   Thu Sep 19 09:27:59 2019 +0200

    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.b...@free.fr>
    Reviewed-by: SangHyeon Jade Lee <sh10233....@samsung.com>
    Differential Revision: https://phab.enlightenment.org/D10016
---
 src/lib/eo/eo_base_class.c | 1 +
 1 file changed, 1 insertion(+)

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

-- 


Reply via email to