From e95f9fd2a0265e21e164fb5deec1f61d80f63cbf 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: svn+ssh://svn.enlightenment.org/var/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 a94586c..5212184 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 a4e8111..052bbc1 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 f2df204..1900537 100644 --- a/src/bin/test_focus.c +++ b/src/bin/test_focus.c @@ -359,7 +359,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 e3b9ac5..f65c9f0 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