jpeg pushed a commit to branch master. http://git.enlightenment.org/core/efl.git/commit/?id=a9eb2303fba225bcffbb7940a5b35bbd425a48f1
commit a9eb2303fba225bcffbb7940a5b35bbd425a48f1 Author: Jean-Philippe Andre <jp.an...@samsung.com> Date: Wed Oct 5 19:51:42 2016 +0900 evas: Provide loop from Evas.Canvas And indirectly also Efl.Canvas.Object. I believe those two classes should even inherit from Efl.Loop.User. Right now this patch relies on the new dependence of Evas over Ecore, and is maybe a bit ugly as is. Ping @cedric See T4686 --- src/lib/evas/canvas/evas_main.c | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/lib/evas/canvas/evas_main.c b/src/lib/evas/canvas/evas_main.c index 8d5fa4f..e328389 100644 --- a/src/lib/evas/canvas/evas_main.c +++ b/src/lib/evas/canvas/evas_main.c @@ -11,6 +11,8 @@ #include "evas_polygon_private.h" #include "evas_vg_private.h" +#include <Ecore.h> + #define MY_CLASS EVAS_CANVAS_CLASS #ifdef LKDEBUG @@ -613,6 +615,8 @@ _evas_canvas_efl_object_provider_find(Eo *eo_e, Evas_Public_Data *e EINA_UNUSED, { if (klass == EVAS_CANVAS_CLASS) return eo_e; + else if (klass == EFL_LOOP_CLASS) + return ecore_main_loop_get(); return efl_provider_find(efl_super(eo_e, MY_CLASS), klass); } --