elm: Don't alias in efl_part()

Inside efl_part() we don't know whether we are dealing with a text
or content API, so we can't actually guess the proper alias.

The legacy API should have already dealt with aliasing at this point.
The EO API should not use those aliases.
This commit is contained in:
Jean-Philippe Andre 2017-07-05 20:30:21 +09:00
parent 9b667ed062
commit 5a922f4afa
1 changed files with 0 additions and 3 deletions

View File

@ -2363,9 +2363,6 @@ _elm_layout_efl_part_part(const Eo *obj, Elm_Layout_Smart_Data *sd EINA_UNUSED,
Eo *proxy;
EINA_SAFETY_ON_NULL_RETURN_VAL(part, NULL);
if (!_elm_layout_part_aliasing_eval(obj, &part, EINA_FALSE))
return NULL;
ELM_WIDGET_DATA_GET_OR_RETURN((Eo *) obj, wd, NULL);
// Check part type with edje_edit, as edje_object_part_object_get()