summaryrefslogtreecommitdiff
path: root/src/lib/efl/interfaces/efl_vpath_manager.c
diff options
context:
space:
mode:
authorDaniel Kolesa <d.kolesa@osg.samsung.com>2016-05-17 17:14:47 +0100
committerDaniel Kolesa <d.kolesa@osg.samsung.com>2016-05-17 17:50:43 +0100
commit7782c0bcb956263e4b58b9ee5640381fe7b3c4f9 (patch)
tree42845dcc2450ec2815c320379c83c2017fda4f57 /src/lib/efl/interfaces/efl_vpath_manager.c
parentf007380fb948f426d04778965ec4d192fe953cc2 (diff)
eolian: add event_prefix and have classes follow that or eo_prefix by default
Previously events used to use class name as a prefix and ignored eo_prefix when specified. This is no longer the case. Events follow eo_prefix by default now. In order to get around this for classes where this is undesirable, a new field event_prefix was added which takes priority over eo_prefix. If neither is specified, class name is used like previously. @feature
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}