kuuko pushed a commit to branch master. http://git.enlightenment.org/bindings/python/python-efl.git/commit/?id=a475ecba44220bf4c262c93033ec86d0041ab555
commit a475ecba44220bf4c262c93033ec86d0041ab555 Author: Kai Huuhko <kai.huu...@gmail.com> Date: Sun Jun 18 20:30:52 2017 +0300 Elementary: Add import to efl.edje Since we can't always anticipate when Elm will return a pointer to an Edje object, let's just have the type always available. --- efl/elementary/__init__.pyx | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/efl/elementary/__init__.pyx b/efl/elementary/__init__.pyx index b1f58b8..e99156e 100644 --- a/efl/elementary/__init__.pyx +++ b/efl/elementary/__init__.pyx @@ -717,6 +717,11 @@ def init(): """ EINA_LOG_DOM_INFO(PY_EFL_ELM_LOG_DOMAIN, "Initializing efl.elementary") + # Force Edje object type to be always available, since we cannot + # anticipate when Elementary is going to return a pointer to one. + + import efl.edje + # argc and argv are currently used by EFL to support app restart # and binary relocation. These are probably not useful to us but we # pass the information here regardless because useful functionality --