forked from enlightenment/efl
Elm anchorview: Fix code to use the new elm_object_text_set/get API
SVN revision: 60998
This commit is contained in:
parent
e918eeae55
commit
23a544282f
|
@ -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<br>"
|
||||
"uses markup <b>like this</> for styling and<br>"
|
||||
"formatting <em>like this</>, as well as<br>"
|
||||
|
|
|
@ -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;
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue