aboutsummaryrefslogtreecommitdiffstats
path: root/legacy/elementary/src/bin/test_launcher.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_launcher.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 '')
-rw-r--r--legacy/elementary/src/bin/test_launcher.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/legacy/elementary/src/bin/test_launcher.c b/legacy/elementary/src/bin/test_launcher.c
index 9c8c594984..3f83d95613 100644
--- a/legacy/elementary/src/bin/test_launcher.c
+++ b/legacy/elementary/src/bin/test_launcher.c
@@ -264,8 +264,8 @@ test_launcher(void *data __UNUSED__, Evas_Object *obj __UNUSED__, void *event_in
ic = elm_icon_add(win);
elm_object_scale_set(ic, 0.5);
snprintf(buf, sizeof(buf), "%s/images/icon_%02i.png", elm_app_data_dir_get(), n);
- elm_icon_file_set(ic, buf, NULL);
- elm_icon_resizable_set(ic, 0, 0);
+ elm_image_file_set(ic, buf, NULL);
+ elm_image_resizable_set(ic, 0, 0);
evas_object_size_hint_weight_set(ic, EVAS_HINT_EXPAND, EVAS_HINT_EXPAND);
evas_object_size_hint_align_set(ic, 0.5, 0.5);
elm_table_pack(tb, ic, 1 + i, 1 + (j * 2), 1, 1);
@@ -808,8 +808,8 @@ test_launcher3(void *data __UNUSED__, Evas_Object *obj __UNUSED__, void *event_i
ic = elm_icon_add(win);
elm_object_scale_set(ic, 0.5);
snprintf(buf, sizeof(buf), "%s/images/icon_%02i.png", elm_app_data_dir_get(), n);
- elm_icon_file_set(ic, buf, NULL);
- elm_icon_resizable_set(ic, 0, 0);
+ elm_image_file_set(ic, buf, NULL);
+ elm_image_resizable_set(ic, 0, 0);
evas_object_size_hint_weight_set(ic, EVAS_HINT_EXPAND, EVAS_HINT_EXPAND);
evas_object_size_hint_align_set(ic, 0.5, 0.5);
elm_object_part_content_set(ly2, "slot", ic);