eina_stringshare_replace(&item->location, location);
_set_item_theme(item, location);
- elm_layout_content_set(item->bg_layout, "swallow", item->content);
+ elm_object_part_content_set(item->bg_layout, "swallow", item->content);
if ((item->press == EINA_TRUE) && (item->disabled == EINA_FALSE))
edje_object_signal_emit(elm_layout_edje_get(item->bg_layout), "elm,state,press,on", "elm");
else
evas_object_size_hint_align_set(item->bg_layout, EVAS_HINT_FILL, 0.0);
evas_object_show(item->bg_layout);
- elm_layout_content_set(item->bg_layout, "swallow", item->content);
+ elm_object_part_content_set(item->bg_layout, "swallow", item->content);
return item;
}