aboutsummaryrefslogtreecommitdiffstats
path: root/src/lib/elementary/efl_ui_popup.c
diff options
context:
space:
mode:
authorMike Blumenkrantz <zmike@samsung.com>2019-08-20 09:11:12 -0400
committerMike Blumenkrantz <zmike@samsung.com>2019-08-20 09:11:12 -0400
commitcc6669c0d226965a84cb3c552ca24874c9c88dc5 (patch)
treeb0cbc558d1e0429741872a428a744fdd45d66df3 /src/lib/elementary/efl_ui_popup.c
parenttests/popup: make text alert sizing test even more strict (diff)
downloadefl-cc6669c0d226965a84cb3c552ca24874c9c88dc5.tar.gz
efl_ui/popup: replace legacy image use with efl_ui_image
Summary: new widgets should not use legacy widgets internally Reviewers: bu5hm4n Reviewed By: bu5hm4n Subscribers: cedric, #reviewers, #committers Tags: #efl Differential Revision: https://phab.enlightenment.org/D9590
Diffstat (limited to '')
-rw-r--r--src/lib/elementary/efl_ui_popup.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/lib/elementary/efl_ui_popup.c b/src/lib/elementary/efl_ui_popup.c
index 5cc54e56ca..72773f41b6 100644
--- a/src/lib/elementary/efl_ui_popup.c
+++ b/src/lib/elementary/efl_ui_popup.c
@@ -372,15 +372,15 @@ _efl_ui_popup_part_backwall_efl_file_load(Eo *obj, void *_pd EINA_UNUSED)
efl_del(prev_obj);
}
- Eo *image = elm_image_add(pd->obj);
+ Eo *image = efl_add(EFL_UI_IMAGE_CLASS, pd->obj);
Eina_Bool ret;
const Eina_File *f;
f = efl_file_mmap_get(obj);
if (f)
- ret = elm_image_mmap_set(image, f, efl_file_key_get(obj));
+ ret = efl_file_simple_mmap_load(image, f, efl_file_key_get(obj));
else
- ret = elm_image_file_set(image, efl_file_get(obj), efl_file_key_get(obj));
+ ret = efl_file_simple_load(image, efl_file_get(obj), efl_file_key_get(obj));
if (!ret)
{
efl_del(image);