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
#include "evas_polygon_private.h"
#include "evas_vg_private.h"
+#include <Ecore.h>
+
#define MY_CLASS EVAS_CANVAS_CLASS
#ifdef LKDEBUG
{
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);
}