summaryrefslogtreecommitdiff
path: root/src/lib/efl/interfaces/efl_vpath_manager.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/lib/efl/interfaces/efl_vpath_manager.c')
-rw-r--r--src/lib/efl/interfaces/efl_vpath_manager.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/lib/efl/interfaces/efl_vpath_manager.c b/src/lib/efl/interfaces/efl_vpath_manager.c
index 59be446..8a4d752 100644
--- a/src/lib/efl/interfaces/efl_vpath_manager.c
+++ b/src/lib/efl/interfaces/efl_vpath_manager.c
@@ -54,7 +54,7 @@ static Eina_Bool
54_cb_vpath_del(void *data, const Eo_Event *event) 54_cb_vpath_del(void *data, const Eo_Event *event)
55{ 55{
56 efl_vpath_manager_unregister(EFL_VPATH_MANAGER_CLASS, event->obj); 56 efl_vpath_manager_unregister(EFL_VPATH_MANAGER_CLASS, event->obj);
57 eo_event_callback_del(event->obj, EO_BASE_EVENT_DEL, _cb_vpath_del, data); 57 eo_event_callback_del(event->obj, EO_EVENT_DEL, _cb_vpath_del, data);
58 return EINA_TRUE; 58 return EINA_TRUE;
59} 59}
60 60
@@ -64,7 +64,7 @@ _efl_vpath_manager_register(Eo *obj, void *pd EINA_UNUSED, int priority, Efl_Vpa
64 Efl_Vpath_Manager_Entry *entry = malloc(sizeof(Efl_Vpath_Manager_Entry)); 64 Efl_Vpath_Manager_Entry *entry = malloc(sizeof(Efl_Vpath_Manager_Entry));
65 entry->vpath = vpath; 65 entry->vpath = vpath;
66 entry->priority = priority; 66 entry->priority = priority;
67 eo_event_callback_add(vpath, EO_BASE_EVENT_DEL, _cb_vpath_del, obj); 67 eo_event_callback_add(vpath, EO_EVENT_DEL, _cb_vpath_del, obj);
68 vpath_manager.list = eina_list_sorted_insert 68 vpath_manager.list = eina_list_sorted_insert
69 (vpath_manager.list, EINA_COMPARE_CB(_register_sort_cb), entry); 69 (vpath_manager.list, EINA_COMPARE_CB(_register_sort_cb), entry);
70} 70}