forked from enlightenment/efl
edje external module loader: just load modules once.
not tested, but should work. SVN revision: 43933
This commit is contained in:
parent
d40d8d123d
commit
14860ca5ce
|
@ -59,6 +59,10 @@ edje_module_load(const char *module)
|
|||
Eina_Module *m;
|
||||
|
||||
EINA_SAFETY_ON_NULL_RETURN_VAL(module, EINA_FALSE);
|
||||
|
||||
if (eina_hash_find(_registered_modules, module))
|
||||
return EINA_TRUE;
|
||||
|
||||
m = eina_module_find(_available_modules, module);
|
||||
|
||||
if (!m)
|
||||
|
|
Loading…
Reference in New Issue