aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHanspeter Portner <dev@open-music-kontrollers.ch>2015-07-01 18:21:41 +0200
committerHanspeter Portner <dev@open-music-kontrollers.ch>2015-07-01 18:21:41 +0200
commit9670eea6246bbdf17a13d87a190448fcae1ebc7f (patch)
tree01fb9a5291cbf797e97b717063199590ed5121a5
parent4b2c8336262d4c12d75caaf320cc20529abac329 (diff)
downloadsherlock.lv2-9670eea6246bbdf17a13d87a190448fcae1ebc7f.tar.xz
use right function to set image of elm_icon.
-rw-r--r--atom_inspector_ui.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/atom_inspector_ui.c b/atom_inspector_ui.c
index dbfeee3..bb83de1 100644
--- a/atom_inspector_ui.c
+++ b/atom_inspector_ui.c
@@ -809,7 +809,7 @@ _content_get(eo_ui_t *eoui)
Evas_Object *icon = elm_icon_add(info);
if(icon)
{
- elm_layout_file_set(icon, ui->logo_path, NULL);
+ elm_image_file_set(icon, ui->logo_path, NULL);
evas_object_size_hint_min_set(icon, 20, 20);
evas_object_size_hint_max_set(icon, 32, 32);
//evas_object_size_hint_aspect_set(icon, EVAS_ASPECT_CONTROL_BOTH, 1, 1);
@@ -835,7 +835,7 @@ _content_get(eo_ui_t *eoui)
Evas_Object *icon = elm_icon_add(hbox);
if(icon)
{
- elm_layout_file_set(icon, ui->logo_path, NULL);
+ elm_image_file_set(icon, ui->logo_path, NULL);
evas_object_size_hint_min_set(icon, 128, 128);
evas_object_size_hint_max_set(icon, 256, 256);
evas_object_size_hint_aspect_set(icon, EVAS_ASPECT_CONTROL_BOTH, 1, 1);