photo_array[ind++] = photo_object_add(win, NULL, buf, 40, 300, 365, 400, 45);
Evas_Object *en = elm_entry_add(win);
- elm_entry_entry_set(en, "You can use whatever object you want, "
+ elm_object_text_set(en, "You can use whatever object you want, "
"even entries like this.");
elm_entry_line_wrap_set(en, ELM_WRAP_MIXED);
Evas_Object *postit = elm_layout_add(win);
snprintf(buf, sizeof(buf), "%s/objects/postit_ent.edj", elm_app_data_dir_get());
elm_layout_file_set(postit, buf, "main");
- elm_object_content_part_set(postit, "ent", en);
+ elm_object_part_content_set(postit, "ent", en);
photo_array[ind++] = photo_object_add(win, postit, NULL, 50, 50, 382, 400, 355);