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.
This commit is contained in:
Kai Huuhko 2017-06-18 20:30:52 +03:00
parent eace418f9b
commit a475ecba44
1 changed files with 5 additions and 0 deletions

View File

@ -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