edje: Remove _edje_animators list
authorDerek Foreman <derek.foreman.samsung@gmail.com>
Tue, 15 Jan 2019 01:00:08 +0000 (19:00 -0600)
committerJiyoun Park <jy0703.park@samsung.com>
Wed, 16 Jan 2019 04:10:40 +0000 (13:10 +0900)
I guess this used to do something...

Now it's a list that we never add anything to but frequently try to remove
things from.

Signed-off-by: Derek Foreman <derek.foreman.samsung@gmail.com>
Reviewed-by: Cedric BAIL <cedric.bail@free.fr>
Reviewed-by: Chris Michael <cp.michael@samsung.com>
Differential Revision: https://phab.enlightenment.org/D7621

src/lib/edje/edje_load.c
src/lib/edje/edje_private.h
src/lib/edje/edje_program.c

index a669aab..78a566a 100644 (file)
@@ -2183,7 +2183,6 @@ _edje_file_del(Edje *ed, Eina_Bool reuse_ic)
         EINA_LIST_FREE(ed->actions, runp)
           free(runp);
      }
-   _edje_animators = eina_list_remove(_edje_animators, ed);
    efl_event_callback_del(ed->obj, EFL_EVENT_ANIMATOR_TICK, _edje_timer_cb, ed);
    ecore_animator_del(ed->animator);
    ed->animator = NULL;
index cb51c47..071bcf9 100644 (file)
@@ -2596,7 +2596,6 @@ EAPI extern Eet_Data_Descriptor *_edje_edd_edje_plugin;
 #endif
 //
 
-extern Eina_List       *_edje_animators;
 extern Eina_Inlist     *_edje_edjes;
 
 extern char            *_edje_fontset_append;
index 3b53c42..b642a52 100644 (file)
@@ -4,7 +4,6 @@ static void _edje_emit_cb(Edje *ed, const char *sig, const char *src, Edje_Messa
 static void _edje_param_copy(Edje *ed, Edje_Real_Part *src_part, const char *src_param, Edje_Real_Part *dst_part, const char *dst_param);
 static void _edje_param_set(Edje *ed, Edje_Real_Part *part, const char *param, const char *value);
 
-Eina_List *_edje_animators = NULL;
 static double _edje_transition_duration_scale = 0;
 
 static Eina_Bool