summaryrefslogtreecommitdiff
path: root/src/lib/ecore
diff options
context:
space:
mode:
authorCedric BAIL <cedric.bail@free.fr>2019-07-11 15:18:34 -0700
committerMarcel Hollerbach <mail@marcel-hollerbach.de>2019-07-17 21:57:57 +0200
commite0ee318fe11996b3dbbc2b5080349f0548c9fc52 (patch)
tree535aabc58d67834ed09ca9beaa7993b315e96f97 /src/lib/ecore
parent16b662d5d10f1f75e5ab88574371ec87430541b1 (diff)
eo: use efl_provider_{un,}register infrastructure instead of Efl_Loop one.
Reviewed-by: Marcel Hollerbach <mail@marcel-hollerbach.de> Differential Revision: https://phab.enlightenment.org/D9296
Diffstat (limited to 'src/lib/ecore')
-rw-r--r--src/lib/ecore/ecore_events.c2
-rw-r--r--src/lib/ecore/efl_loop.c2
2 files changed, 2 insertions, 2 deletions
diff --git a/src/lib/ecore/ecore_events.c b/src/lib/ecore/ecore_events.c
index 01a4c3d019..76de86b7a7 100644
--- a/src/lib/ecore/ecore_events.c
+++ b/src/lib/ecore/ecore_events.c
@@ -233,7 +233,7 @@ _ecore_event_init(void)
233 if ((!choice) || (!choice[0])) choice = "chained_mempool"; 233 if ((!choice) || (!choice[0])) choice = "chained_mempool";
234 234
235 _event_msg_handler = efl_add(ECORE_EVENT_MESSAGE_HANDLER_CLASS, _mainloop_singleton); 235 _event_msg_handler = efl_add(ECORE_EVENT_MESSAGE_HANDLER_CLASS, _mainloop_singleton);
236 efl_loop_register(_mainloop_singleton, ECORE_EVENT_MESSAGE_HANDLER_CLASS, _event_msg_handler); 236 efl_provider_register(_mainloop_singleton, ECORE_EVENT_MESSAGE_HANDLER_CLASS, _event_msg_handler);
237 237
238 if (!_event_msg_handler) 238 if (!_event_msg_handler)
239 { 239 {
diff --git a/src/lib/ecore/efl_loop.c b/src/lib/ecore/efl_loop.c
index a21aeeae01..b8a910cc8a 100644
--- a/src/lib/ecore/efl_loop.c
+++ b/src/lib/ecore/efl_loop.c
@@ -276,7 +276,7 @@ _efl_loop_efl_object_constructor(Eo *obj, Efl_Loop_Data *pd)
276 pd->epoll_fd = -1; 276 pd->epoll_fd = -1;
277 pd->timer_fd = -1; 277 pd->timer_fd = -1;
278 pd->future_message_handler = efl_add(EFL_LOOP_MESSAGE_FUTURE_HANDLER_CLASS, obj); 278 pd->future_message_handler = efl_add(EFL_LOOP_MESSAGE_FUTURE_HANDLER_CLASS, obj);
279 efl_loop_register(obj, EFL_LOOP_MESSAGE_FUTURE_HANDLER_CLASS, pd->future_message_handler); 279 efl_provider_register(obj, EFL_LOOP_MESSAGE_FUTURE_HANDLER_CLASS, pd->future_message_handler);
280 280
281 return obj; 281 return obj;
282} 282}