diff options
authorKai Huuhko <kai.huuhko@gmail.com>2017-06-18 20:30:52 +0300
committerKai Huuhko <kai.huuhko@gmail.com>2017-06-18 20:30:52 +0300
commita475ecba44220bf4c262c93033ec86d0041ab555 (patch)
parentSome new widget names (diff)
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.
1 files changed, 5 insertions, 0 deletions
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