forked from enlightenment/efl
edje_pick: reset alias flag for copied group
edje_pick make copy of whole group, even if group is alias. So if group was alias need to reset this flag. @fix
This commit is contained in:
parent
ec9107dc1f
commit
026b7cc495
|
@ -592,6 +592,7 @@ _edje_pick_header_dependencies_check(Edje_File *out_file, Edje_File *edf, Edje_P
|
|||
ce_out = malloc(sizeof(*ce_out)); \
|
||||
memcpy(ce_out, ce_cor, sizeof(*ce_out)); \
|
||||
ce_out->id = *current_id; \
|
||||
ce_out->group_alias = EINA_FALSE; \
|
||||
EINA_LOG_INFO("Changing ID of group <%d> to <%d>\n", ce->id, ce_out->id); \
|
||||
eina_hash_direct_add(out_file->collection, ce_out->entry, ce_out); \
|
||||
(*current_id)++; \
|
||||
|
@ -704,6 +705,8 @@ _edje_pick_header_make(Edje_File *out_file , Edje_File *edf, Eina_List *ifs)
|
|||
ce_out = malloc(sizeof(*ce_out));
|
||||
|
||||
memcpy(ce_out, ce, sizeof(*ce_out));
|
||||
/* reset flag alias */
|
||||
ce_out->group_alias = EINA_FALSE;
|
||||
|
||||
ce_out->id = current_group_id;
|
||||
EINA_LOG_INFO("Changing ID of group <%d> to <%d>\n",
|
||||
|
|
Loading…
Reference in New Issue