From d62e527fb44e49d6ee94aee06a43cde448a60221 Mon Sep 17 00:00:00 2001 From: seoz Date: Thu, 30 Jun 2011 15:27:38 +0000 Subject: [PATCH] elm edje_externals: Applied hoversel/slider elm_xxx_label_get/set API changes. Use elm_object_text_get/set instead of elm_xxx_label_get/set. git-svn-id: https://svn.enlightenment.org/svn/e/trunk/elementary@60874 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33 --- src/edje_externals/elm_hoversel.c | 6 +++--- src/edje_externals/elm_slider.c | 6 +++--- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/src/edje_externals/elm_hoversel.c b/src/edje_externals/elm_hoversel.c index de4bbec..9ee6585 100644 --- a/src/edje_externals/elm_hoversel.c +++ b/src/edje_externals/elm_hoversel.c @@ -19,7 +19,7 @@ external_hoversel_state_set(void *data __UNUSED__, Evas_Object *obj, const void else return; if (p->label) - elm_hoversel_label_set(obj, p->label); + elm_object_text_set(obj, p->label); if (p->icon) elm_hoversel_icon_set(obj, p->icon); if (p->horizontal_exists) @@ -33,7 +33,7 @@ external_hoversel_param_set(void *data __UNUSED__, Evas_Object *obj, const Edje_ { if (param->type == EDJE_EXTERNAL_PARAM_TYPE_STRING) { - elm_hoversel_label_set(obj, param->s); + elm_object_text_set(obj, param->s); return EINA_TRUE; } } @@ -69,7 +69,7 @@ external_hoversel_param_get(void *data __UNUSED__, const Evas_Object *obj, Edje_ { if (param->type == EDJE_EXTERNAL_PARAM_TYPE_STRING) { - param->s = elm_hoversel_label_get(obj); + param->s = elm_object_text_get(obj); return EINA_TRUE; } } diff --git a/src/edje_externals/elm_slider.c b/src/edje_externals/elm_slider.c index b559400..a4c0156 100644 --- a/src/edje_externals/elm_slider.c +++ b/src/edje_externals/elm_slider.c @@ -28,7 +28,7 @@ external_slider_state_set(void *data __UNUSED__, Evas_Object *obj, const void *f else return; if (p->label) - elm_slider_label_set(obj, p->label); + elm_object_text_set(obj, p->label); if (p->icon) elm_slider_icon_set(obj, p->icon); if (p->span_exists) @@ -63,7 +63,7 @@ external_slider_param_set(void *data __UNUSED__, Evas_Object *obj, const Edje_Ex { if (param->type == EDJE_EXTERNAL_PARAM_TYPE_STRING) { - elm_slider_label_set(obj, param->s); + elm_object_text_set(obj, param->s); return EINA_TRUE; } } @@ -159,7 +159,7 @@ external_slider_param_get(void *data __UNUSED__, const Evas_Object *obj, Edje_Ex { if (param->type == EDJE_EXTERNAL_PARAM_TYPE_STRING) { - param->s = elm_slider_label_get(obj); + param->s = elm_object_text_get(obj); return EINA_TRUE; } } -- 2.7.4