projects
/
platform
/
upstream
/
efl.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
9b667ed
)
elm: Don't alias in efl_part()
author
Jean-Philippe Andre
<jp.andre@samsung.com>
Wed, 5 Jul 2017 11:30:21 +0000
(20:30 +0900)
committer
Jean-Philippe Andre
<jp.andre@samsung.com>
Wed, 5 Jul 2017 11:30:21 +0000
(20:30 +0900)
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
patch
|
blob
|
history
diff --git
a/src/lib/elementary/elm_layout.c
b/src/lib/elementary/elm_layout.c
index
1f7e929
..
b281329
100644
(file)
--- 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()