From: tasn Date: Mon, 4 Jul 2011 10:40:02 +0000 (+0000) Subject: Elm anchorview: Fix code to use the new elm_object_text_set/get API X-Git-Tag: REL_F_I9500_20120323_1~17^2~2394 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=0c30a4710c88a28262520ce0bc368c88cc14a653;p=framework%2Fuifw%2Felementary.git Elm anchorview: Fix code to use the new elm_object_text_set/get API git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/elementary@60998 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33 --- diff --git a/src/bin/test_anchorview.c b/src/bin/test_anchorview.c index ab8825d..c752067 100644 --- a/src/bin/test_anchorview.c +++ b/src/bin/test_anchorview.c @@ -87,7 +87,7 @@ test_anchorview(void *data __UNUSED__, Evas_Object *obj __UNUSED__, void *event_ av = elm_anchorview_add(win); elm_anchorview_hover_style_set(av, "popout"); elm_anchorview_hover_parent_set(av, win); - elm_anchorview_text_set(av, + elm_object_text_set(av, "This is an entry widget in this window that
" "uses markup like this for styling and
" "formatting like this, as well as
" diff --git a/src/edje_externals/elm_anchorview.c b/src/edje_externals/elm_anchorview.c index d74a09f..eb5936d 100644 --- a/src/edje_externals/elm_anchorview.c +++ b/src/edje_externals/elm_anchorview.c @@ -17,7 +17,7 @@ external_anchorview_state_set(void *data __UNUSED__, Evas_Object *obj, const voi if (p->text) { - elm_anchorview_text_set(obj, p->text); + elm_object_text_set(obj, p->text); } } @@ -28,7 +28,7 @@ external_anchorview_param_set(void *data __UNUSED__, Evas_Object *obj, const Edj { if (param->type == EDJE_EXTERNAL_PARAM_TYPE_STRING) { - elm_anchorview_text_set(obj, param->s); + elm_object_text_set(obj, param->s); return EINA_TRUE; } } @@ -46,7 +46,7 @@ external_anchorview_param_get(void *data __UNUSED__, const Evas_Object *obj, Edj { if (param->type == EDJE_EXTERNAL_PARAM_TYPE_STRING) { - param->s = elm_anchorview_text_get(obj); + param->s = elm_object_text_get(obj); return EINA_TRUE; } }