forked from enlightenment/efl
Revert "edje: Avoid string duplication when possible."
This reverts commit 8941514b46
.
found that this breaks e's systray icon layout... :(
This commit is contained in:
parent
903e2832ba
commit
d6f210b3a0
|
@ -5602,23 +5602,17 @@ _edje_real_part_text_text_source_description_get(Edje_Real_Part *ep, Edje_Real_P
|
|||
Edje_Real_Part *
|
||||
_edje_real_part_recursive_get(Edje **ed, const char *part)
|
||||
{
|
||||
if (strchr(part, EDJE_PART_PATH_SEPARATOR))
|
||||
{
|
||||
Edje_Real_Part *rp;
|
||||
char **path;
|
||||
Edje_Real_Part *rp;
|
||||
char **path;
|
||||
|
||||
path = eina_str_split(part, EDJE_PART_PATH_SEPARATOR_STRING, 0);
|
||||
if (!path) return NULL;
|
||||
path = eina_str_split(part, EDJE_PART_PATH_SEPARATOR_STRING, 0);
|
||||
if (!path) return NULL;
|
||||
|
||||
rp = _edje_real_part_recursive_get_helper(ed, path);
|
||||
rp = _edje_real_part_recursive_get_helper(ed, path);
|
||||
|
||||
free(*path);
|
||||
free(path);
|
||||
|
||||
return rp;
|
||||
}
|
||||
|
||||
return _edje_real_part_get(*ed, part);
|
||||
free(*path);
|
||||
free(path);
|
||||
return rp;
|
||||
}
|
||||
|
||||
Evas_Object *
|
||||
|
|
Loading…
Reference in New Issue