jpeg pushed a commit to branch master.

http://git.enlightenment.org/core/efl.git/commit/?id=5a922f4afaf7edcbb1313f9aa8d5de187fe7b0d8

commit 5a922f4afaf7edcbb1313f9aa8d5de187fe7b0d8
Author: Jean-Philippe Andre <jp.an...@samsung.com>
Date:   Wed Jul 5 20:30:21 2017 +0900

    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 1f7e929a24..b281329be6 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()

-- 


Reply via email to