dummy_obj: Print error when setting swallow image is failed.

If setting swallow image from edje file is failed, then print error.
This commit is contained in:
Jaehyun Cho 2016-03-07 20:10:01 +09:00
parent cab91580fe
commit d4fec9c7d2
1 changed files with 2 additions and 1 deletions

View File

@ -121,7 +121,8 @@ dummy_objs_update(dummy_obj *dummy)
//New part. Add fake object.
Evas_Object *obj = edje_object_add(evas);
edje_object_file_set(obj, EDJE_PATH, "swallow");
if (!edje_object_file_set(obj, EDJE_PATH, "swallow"))
EINA_LOG_ERR("Failed to set File to Edje Object!");
edje_object_part_swallow(dummy->layout, part_name, obj);
po->obj = obj;