aboutsummaryrefslogtreecommitdiffstats
path: root/legacy/elementary/src/bin/test_transit.c
diff options
context:
space:
mode:
authorGustavo Lima Chaves <glima@profusion.mobi>2012-05-28 21:50:11 +0000
committerGustavo Lima Chaves <glima@profusion.mobi>2012-05-28 21:50:11 +0000
commitbbf0a4345e0395d934558404ed93a3056698b668 (patch)
tree41567adbb5c331ebbd742c3fae3ec227b252605b /legacy/elementary/src/bin/test_transit.c
parent[elm] Deprecate elm icon calls just wrapping elm (diff)
downloadefl-bbf0a4345e0395d934558404ed93a3056698b668.tar.gz
[elm] And now remove deprecated calls usage (WRT
icon/image thing). SVN revision: 71473
Diffstat (limited to 'legacy/elementary/src/bin/test_transit.c')
-rw-r--r--legacy/elementary/src/bin/test_transit.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/legacy/elementary/src/bin/test_transit.c b/legacy/elementary/src/bin/test_transit.c
index 7596d019c5..0ca740d701 100644
--- a/legacy/elementary/src/bin/test_transit.c
+++ b/legacy/elementary/src/bin/test_transit.c
@@ -250,7 +250,7 @@ test_transit(void *data __UNUSED__, Evas_Object *obj __UNUSED__, void *event_inf
ic = elm_icon_add(win);
snprintf(buf, sizeof(buf), "%s/images/icon_11.png", elm_app_data_dir_get());
- elm_icon_file_set(ic, buf, NULL);
+ elm_image_file_set(ic, buf, NULL);
evas_object_size_hint_aspect_set(ic, EVAS_ASPECT_CONTROL_VERTICAL, 1, 1);
bt = elm_button_add(win);
@@ -357,7 +357,7 @@ test_transit5(void *data __UNUSED__, Evas_Object *obj __UNUSED__, void *event_in
ic = elm_icon_add(win);
snprintf(buf, sizeof(buf), "%s/images/rock_01.jpg", elm_app_data_dir_get());
- elm_icon_file_set(ic, buf, NULL);
+ elm_image_file_set(ic, buf, NULL);
evas_object_size_hint_max_set(ic, 50, 50);
bt = elm_button_add(win);
@@ -369,7 +369,7 @@ test_transit5(void *data __UNUSED__, Evas_Object *obj __UNUSED__, void *event_in
ic = elm_icon_add(win);
snprintf(buf, sizeof(buf), "%s/images/rock_02.jpg", elm_app_data_dir_get());
- elm_icon_file_set(ic, buf, NULL);
+ elm_image_file_set(ic, buf, NULL);
evas_object_size_hint_max_set(ic, 50, 50);
bt2 = elm_button_add(win);
@@ -397,7 +397,7 @@ test_transit6(void *data __UNUSED__, Evas_Object *obj __UNUSED__, void *event_in
ic = elm_icon_add(win);
snprintf(buf, sizeof(buf), "%s/images/rock_01.jpg", elm_app_data_dir_get());
- elm_icon_file_set(ic, buf, NULL);
+ elm_image_file_set(ic, buf, NULL);
evas_object_size_hint_max_set(ic, 50, 50);
bt = elm_button_add(win);
@@ -409,7 +409,7 @@ test_transit6(void *data __UNUSED__, Evas_Object *obj __UNUSED__, void *event_in
ic = elm_icon_add(win);
snprintf(buf, sizeof(buf), "%s/images/rock_02.jpg", elm_app_data_dir_get());
- elm_icon_file_set(ic, buf, NULL);
+ elm_image_file_set(ic, buf, NULL);
evas_object_size_hint_max_set(ic, 50, 50);
bt2 = elm_button_add(win);