From b2c2d1fe879b57777383ee38d7785e5a93345f4b Mon Sep 17 00:00:00 2001 From: Mike McCormack Date: Wed, 23 Nov 2011 17:40:04 +0900 Subject: [PATCH] Avoid deprecated functions --- src/lib/elm_dialoguegroup.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/lib/elm_dialoguegroup.c b/src/lib/elm_dialoguegroup.c index dd00c7e..66960c8 100644 --- a/src/lib/elm_dialoguegroup.c +++ b/src/lib/elm_dialoguegroup.c @@ -176,7 +176,7 @@ _change_item_bg(Dialogue_Item *item, const char *location) eina_stringshare_replace(&item->location, location); _set_item_theme(item, location); - elm_object_content_part_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 @@ -217,7 +217,7 @@ _create_item(Evas_Object *obj, Evas_Object *subobj, Elm_Dialoguegroup_Item_Style evas_object_size_hint_align_set(item->bg_layout, EVAS_HINT_FILL, 0.0); evas_object_show(item->bg_layout); - elm_object_content_part_set(item->bg_layout, "swallow", item->content); + elm_object_part_content_set(item->bg_layout, "swallow", item->content); return item; } -- 2.7.4