dummy_object: change input param for edje_object_add from Evas_Object* to Evas*

Reviewers: Hermet

Subscribers: NikaWhite

Projects: #enventor

Differential Revision: https://phab.enlightenment.org/D1355
This commit is contained in:
Mykyta Biliavskyi 2014-08-27 17:21:01 +09:00 committed by ChunEon Park
parent c687b539a7
commit 8d5e5c847b
1 changed files with 2 additions and 2 deletions

View File

@ -27,7 +27,7 @@ dummy_objs_update(dummy_obj *dummy)
char *part_name;
Edje_Part_Type type;
part_obj *po;
Evas *evas = evas_object_evas_get(dummy->layout);
Eina_Bool removed;
//Remove the fake swallow objects that parts are removed.
@ -71,7 +71,7 @@ dummy_objs_update(dummy_obj *dummy)
if (!po) continue;
//New part. Add fake object.
Evas_Object *obj = edje_object_add(dummy->layout);
Evas_Object *obj = edje_object_add(evas);
edje_object_file_set(obj, EDJE_PATH, "swallow");
edje_object_part_swallow(dummy->layout, part_name, obj);