diff options
author | Daniel Juyung Seo <juyung.seo@samsung.com> | 2012-03-05 15:10:59 +0000 |
---|---|---|
committer | Daniel Juyung Seo <seojuyung2@gmail.com> | 2012-03-05 15:10:59 +0000 |
commit | 376ef37273308444ffce3586b7e3d0a2ec58306e (patch) | |
tree | 5f21fe25db86c1f8124d03bd7e5018262ff7dc4b /src/bin/test_launcher.c | |
parent | 670bbf5005338879fcd7488edfa48aaa275f14bf (diff) | |
download | elementary-376ef37273308444ffce3586b7e3d0a2ec58306e.tar.gz |
elm: Applied icon/image API changes.
Signed-off-by: Daniel Juyung Seo <juyung.seo@samsung.com>
SVN revision: 68728
Diffstat (limited to 'src/bin/test_launcher.c')
-rw-r--r-- | src/bin/test_launcher.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/bin/test_launcher.c b/src/bin/test_launcher.c index abbb1a89a..7111feb18 100644 --- a/src/bin/test_launcher.c +++ b/src/bin/test_launcher.c @@ -265,7 +265,7 @@ test_launcher(void *data __UNUSED__, Evas_Object *obj __UNUSED__, void *event_in 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_scale_set(ic, 0, 0); + elm_icon_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); @@ -809,7 +809,7 @@ test_launcher3(void *data __UNUSED__, Evas_Object *obj __UNUSED__, void *event_i 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_scale_set(ic, 0, 0); + elm_icon_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); |