summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorVyacheslav Reutskiy <v.reutskiy@samsung.com>2013-11-04 15:47:47 +0900
committerCedric Bail <cedric.bail@samsung.com>2013-11-04 15:47:52 +0900
commit61965279d31b6ea950054148288d16a6345caecf (patch)
tree3fd266300fab9e5bc765b43c1f2ad4bf2f4bfdb3
parentd9a72ccf8b4f03d78d7d781b031cac6f7c9377d0 (diff)
edje: fix error _edje_part_description_find_byname, use wrong object.
Reviewers: cedric, seoz Reviewed By: cedric Differential Revision: https://phab.enlightenment.org/D314 Signed-off-by: Cedric Bail <cedric.bail@samsung.com>
Diffstat (limited to '')
-rw-r--r--src/lib/edje/edje_edit.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/lib/edje/edje_edit.c b/src/lib/edje/edje_edit.c
index cfd97bdff3..c7997cd8fb 100644
--- a/src/lib/edje/edje_edit.c
+++ b/src/lib/edje/edje_edit.c
@@ -41,7 +41,7 @@ EAPI Eina_Error EDJE_EDIT_ERROR_GROUP_DOES_NOT_EXIST = 0;
41 Edje *ed; \ 41 Edje *ed; \
42 if (!eo_isa(obj, EDJE_OBJ_CLASS)) \ 42 if (!eo_isa(obj, EDJE_OBJ_CLASS)) \
43 return RET; \ 43 return RET; \
44 ed = eo_data_scope_get(obj, EDJE_OBJ_CLASS); \ 44 ed = eo_data_scope_get(obj, EDJE_OBJ_CLASS);
45 45
46/* Get rp(Edje_Real_Part*) from obj(Evas_Object*) and part(char*) */ 46/* Get rp(Edje_Real_Part*) from obj(Evas_Object*) and part(char*) */
47#define GET_RP_OR_RETURN(RET) \ 47#define GET_RP_OR_RETURN(RET) \
@@ -263,10 +263,10 @@ _edje_part_description_find_byname(Edje_Edit *eed, const char *part, const char
263 263
264 if (!eed || !part || !state) return NULL; 264 if (!eed || !part || !state) return NULL;
265 265
266 rp = _edje_real_part_get((Edje *)eed, part); 266 rp = _edje_real_part_get(eed->base, part);
267 if (!rp) return NULL; 267 if (!rp) return NULL;
268 268
269 pd = _edje_part_description_find((Edje *)eed, rp, state, value); 269 pd = _edje_part_description_find(eed->base, rp, state, value);
270 270
271 return pd; 271 return pd;
272} 272}