aboutsummaryrefslogtreecommitdiffstats
path: root/legacy/elementary/src/bin/test_gengrid.c
diff options
context:
space:
mode:
authorTom Hacohen <tom@stosb.com>2011-06-29 07:11:54 +0000
committerTom Hacohen <tom@stosb.com>2011-06-29 07:11:54 +0000
commit36be2846c9333fd24fe4f0e9c7557b1a4cceddf0 (patch)
tree91ef0a9d9b7e1b4771aea6899ad16959892cf87d /legacy/elementary/src/bin/test_gengrid.c
parentElm button: add the elm_object_text_set/get hooks. (diff)
downloadefl-36be2846c9333fd24fe4f0e9c7557b1a4cceddf0.tar.gz
Elm button: Fix the tests to use the new elm_object_text_set/get API.
SVN revision: 60800
Diffstat (limited to 'legacy/elementary/src/bin/test_gengrid.c')
-rw-r--r--legacy/elementary/src/bin/test_gengrid.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/legacy/elementary/src/bin/test_gengrid.c b/legacy/elementary/src/bin/test_gengrid.c
index 782c6dc6a2..e18a3fd20c 100644
--- a/legacy/elementary/src/bin/test_gengrid.c
+++ b/legacy/elementary/src/bin/test_gengrid.c
@@ -315,25 +315,25 @@ test_gengrid2(void *data __UNUSED__, Evas_Object *obj __UNUSED__, void *event_in
evas_object_show(hbx);
bt = elm_button_add(win);
- elm_button_label_set(bt, "Append");
+ elm_object_text_set(bt, "Append");
evas_object_smart_callback_add(bt, "clicked", _append_bt_clicked, grid);
elm_box_pack_end(hbx, bt);
evas_object_show(bt);
bt = elm_button_add(win);
- elm_button_label_set(bt, "Prepend");
+ elm_object_text_set(bt, "Prepend");
evas_object_smart_callback_add(bt, "clicked", _prepend_bt_clicked, grid);
elm_box_pack_end(hbx, bt);
evas_object_show(bt);
bt = elm_button_add(win);
- elm_button_label_set(bt, "Insert before");
+ elm_object_text_set(bt, "Insert before");
evas_object_smart_callback_add(bt, "clicked", _before_bt_clicked, grid);
elm_box_pack_end(hbx, bt);
evas_object_show(bt);
bt = elm_button_add(win);
- elm_button_label_set(bt, "Insert after");
+ elm_object_text_set(bt, "Insert after");
evas_object_smart_callback_add(bt, "clicked", _after_bt_clicked, grid);
elm_box_pack_end(hbx, bt);
evas_object_show(bt);