From 584f583ba3c86ea303fae1afa045fbc0be0f2d99 Mon Sep 17 00:00:00 2001 From: yoz Date: Mon, 31 Oct 2011 16:20:10 +0000 Subject: [PATCH] elementary: fix test git-svn-id: https://svn.enlightenment.org/svn/e/trunk/elementary@64577 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33 --- src/bin/test_anchorblock.c | 6 +++--- src/bin/test_bubble.c | 4 ++-- src/bin/test_focus.c | 2 +- src/bin/test_win_inline.c | 6 +++--- 4 files changed, 9 insertions(+), 9 deletions(-) diff --git a/src/bin/test_anchorblock.c b/src/bin/test_anchorblock.c index 5ea7d82..a28eaae 100644 --- a/src/bin/test_anchorblock.c +++ b/src/bin/test_anchorblock.c @@ -163,7 +163,7 @@ test_anchorblock(void *data __UNUSED__, Evas_Object *obj __UNUSED__, void *event "(phone number) to click on."); evas_object_smart_callback_add(av, "anchor,clicked", my_anchorblock_anchor, av); - elm_bubble_content_set(bb, av); + elm_object_content_set(bb, av); evas_object_show(av); elm_box_pack_end(bx, bb); evas_object_show(bb); @@ -199,7 +199,7 @@ test_anchorblock(void *data __UNUSED__, Evas_Object *obj __UNUSED__, void *event "web URL's too that launch the web browser and point it " "to that URL. "); evas_object_smart_callback_add(av, "anchor,clicked", my_anchorblock_anchor, av); - elm_bubble_content_set(bb, av); + elm_object_content_set(bb, av); evas_object_show(av); elm_box_pack_end(bx, bb); evas_object_show(bb); @@ -225,7 +225,7 @@ test_anchorblock(void *data __UNUSED__, Evas_Object *obj __UNUSED__, void *event elm_object_text_set(av, "This is a short message. "); evas_object_smart_callback_add(av, "anchor,clicked", my_anchorblock_anchor, av); - elm_bubble_content_set(bb, av); + elm_object_content_set(bb, av); evas_object_show(av); elm_box_pack_end(bx, bb); evas_object_show(bb); diff --git a/src/bin/test_bubble.c b/src/bin/test_bubble.c index e9f057d..faea34e 100644 --- a/src/bin/test_bubble.c +++ b/src/bin/test_bubble.c @@ -49,7 +49,7 @@ test_bubble(void *data __UNUSED__, Evas_Object *obj __UNUSED__, void *event_info ct = elm_label_add(win); elm_object_text_set(ct, "\"The future of the art: R or G or B?\", by Rusty"); - elm_bubble_content_set(bb, ct); + elm_object_content_set(bb, ct); elm_box_pack_end(bx, bb); evas_object_show(bb); @@ -63,7 +63,7 @@ test_bubble(void *data __UNUSED__, Evas_Object *obj __UNUSED__, void *event_info ct = elm_label_add(win); elm_object_text_set(ct, "Corner: base (top-left) - no icon"); - elm_bubble_content_set(bb, ct); + elm_object_content_set(bb, ct); elm_box_pack_end(bx, bb); evas_object_show(bb); diff --git a/src/bin/test_focus.c b/src/bin/test_focus.c index e097184..9862b88 100644 --- a/src/bin/test_focus.c +++ b/src/bin/test_focus.c @@ -356,7 +356,7 @@ test_focus(void *data __UNUSED__, Evas_Object *obj __UNUSED__, void *event_info { Evas_Object *tb = elm_table_add(win); evas_object_size_hint_weight_set(tb, EVAS_HINT_EXPAND, EVAS_HINT_EXPAND); - elm_bubble_content_set(fr, tb); + elm_object_content_set(fr, tb); my_show(tb); for (j = 0; j < 2; j++) for (i = 0; i < 1; i++) diff --git a/src/bin/test_win_inline.c b/src/bin/test_win_inline.c index 0ef8725..348c361 100644 --- a/src/bin/test_win_inline.c +++ b/src/bin/test_win_inline.c @@ -66,7 +66,7 @@ fill(Evas_Object *win, Eina_Bool do_bg) "Hi there. This is the most recent message in the " "list of messages. It has one +61 432 1234 " "(phone number) to click on."); - elm_bubble_content_set(bb, av); + elm_object_content_set(bb, av); evas_object_show(av); elm_box_pack_end(bx, bb); evas_object_show(bb); @@ -100,7 +100,7 @@ fill(Evas_Object *win, Eina_Bool do_bg) "done by links maybe running local apps or even being " "web URL's too that launch the web browser and point it " "to that URL. "); - elm_bubble_content_set(bb, av); + elm_object_content_set(bb, av); evas_object_show(av); elm_box_pack_end(bx, bb); evas_object_show(bb); @@ -123,7 +123,7 @@ fill(Evas_Object *win, Eina_Bool do_bg) elm_anchorblock_hover_style_set(av, "popout"); elm_anchorblock_hover_parent_set(av, win); elm_object_text_set(av, "This is a short message. "); - elm_bubble_content_set(bb, av); + elm_object_content_set(bb, av); evas_object_show(av); elm_box_pack_end(bx, bb); evas_object_show(bb); -- 2.7.4