forked from enlightenment/efl
parent
551ae9b107
commit
6c9cca935c
|
@ -152,6 +152,7 @@ _edje_var_init(Edje *ed)
|
||||||
if (!ed) return;
|
if (!ed) return;
|
||||||
if (!ed->collection) return;
|
if (!ed->collection) return;
|
||||||
if (!ed->collection->script) return;
|
if (!ed->collection->script) return;
|
||||||
|
if (ed->var_pool) return;
|
||||||
ed->var_pool = calloc(1, sizeof(Edje_Var_Pool));
|
ed->var_pool = calloc(1, sizeof(Edje_Var_Pool));
|
||||||
if (!ed->var_pool) return;
|
if (!ed->var_pool) return;
|
||||||
ed->var_pool->size = embryo_program_variable_count_get(ed->collection->script);
|
ed->var_pool->size = embryo_program_variable_count_get(ed->collection->script);
|
||||||
|
|
Loading…
Reference in New Issue