Do not manage the access chain.
[apps/native/widget/widget-edje.git] / src / script_port.c
index bbacbd3..424f509 100644 (file)
@@ -1058,11 +1058,6 @@ static void edje_del_cb(void *_info, Evas *e, Evas_Object *obj, void *event_info
        struct obj_info *obj_info;
        struct obj_info *parent_obj_info;
        struct child *child;
-       Eina_List *l;
-       Eina_List *n;
-       Evas_Object *ao;
-       Evas_Object *edje_part;
-       Evas_Object *edje;
 
        handle->obj_list = eina_list_remove(handle->obj_list, obj);
 
@@ -1110,6 +1105,12 @@ static void edje_del_cb(void *_info, Evas *e, Evas_Object *obj, void *event_info
                free(child);
        }
 
+#if 0
+       Eina_List *l;
+       Eina_List *n;
+       Evas_Object *ao;
+       Evas_Object *edje_part;
+       Evas_Object *edje;
        EINA_LIST_FOREACH_SAFE(handle->access_chain, l, n, edje_part) {
                ao = evas_object_data_get(edje_part, "ao");
                if (ao) {
@@ -1132,6 +1133,7 @@ static void edje_del_cb(void *_info, Evas *e, Evas_Object *obj, void *event_info
                        elm_access_object_unregister(ao);
                }
        }
+#endif
 
        free(obj_info->id);
        free(obj_info);