forked from enlightenment/efl
Better path for modules and move variables to beginning of block
SVN revision: 43934
This commit is contained in:
parent
14860ca5ce
commit
7ea88efdd8
|
@ -83,6 +83,10 @@ edje_module_load(const char *module)
|
|||
void
|
||||
_edje_module_init(void)
|
||||
{
|
||||
unsigned int i;
|
||||
Eina_Array_Iterator it;
|
||||
Eina_Module *m;
|
||||
|
||||
_edje_modules_log_dom = eina_log_domain_register("edje_module", LOG_COLOR);
|
||||
|
||||
if (_edje_modules_log_dom < 0)
|
||||
|
@ -93,7 +97,7 @@ _edje_module_init(void)
|
|||
|
||||
_registered_modules = eina_hash_string_small_new(NULL);
|
||||
_available_modules = eina_module_list_get(_available_modules,
|
||||
PACKAGE_LIB_DIR "/lib/edje", 0, NULL, NULL);
|
||||
PACKAGE_LIB_DIR "/edje", 0, NULL, NULL);
|
||||
|
||||
if (!_available_modules)
|
||||
{
|
||||
|
@ -101,10 +105,6 @@ _edje_module_init(void)
|
|||
return;
|
||||
}
|
||||
|
||||
unsigned int i;
|
||||
Eina_Array_Iterator it;
|
||||
Eina_Module *m;
|
||||
|
||||
EINA_ARRAY_ITER_NEXT(_available_modules, i, m, it)
|
||||
{
|
||||
const char *name;
|
||||
|
|
Loading…
Reference in New Issue