Elm anchorview: Fix code to use the new elm_object_text_set/get API
authortasn <tasn@7cbeb6ba-43b4-40fd-8cce-4c39aea84d33>
Mon, 4 Jul 2011 10:40:02 +0000 (10:40 +0000)
committertasn <tasn@7cbeb6ba-43b4-40fd-8cce-4c39aea84d33>
Mon, 4 Jul 2011 10:40:02 +0000 (10:40 +0000)
git-svn-id: https://svn.enlightenment.org/svn/e/trunk/elementary@60998 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

src/bin/test_anchorview.c
src/edje_externals/elm_anchorview.c

index ab8825d..c752067 100644 (file)
@@ -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>"
index d74a09f..eb5936d 100644 (file)
@@ -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;
          }
      }