Revert "edje: Avoid string duplication when possible."

This reverts commit 704d58d658.

gee. it looked innocent enough... it broke tests and everything in e
This commit is contained in:
Carsten Haitzler 2020-07-07 12:43:39 +01:00
parent 704d58d658
commit cd27255cb0
1 changed files with 8 additions and 14 deletions

View File

@ -5602,8 +5602,6 @@ _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 ((*ed)->collection && (*ed)->collection->alias)
{
Edje_Real_Part *rp;
char **path;
@ -5614,11 +5612,7 @@ _edje_real_part_recursive_get(Edje **ed, const char *part)
free(*path);
free(path);
return rp;
}
return _edje_real_part_get(*ed, part);;
}
Evas_Object *