From 5a922f4afaf7edcbb1313f9aa8d5de187fe7b0d8 Mon Sep 17 00:00:00 2001 From: Jean-Philippe Andre Date: Wed, 5 Jul 2017 20:30:21 +0900 Subject: [PATCH] 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. --- src/lib/elementary/elm_layout.c | 3 --- 1 file changed, 3 deletions(-) diff --git a/src/lib/elementary/elm_layout.c b/src/lib/elementary/elm_layout.c index 1f7e929..b281329 100644 --- a/src/lib/elementary/elm_layout.c +++ b/src/lib/elementary/elm_layout.c @@ -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() -- 2.7.4