aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorChris Michael <cp.michael@samsung.com>2018-11-08 10:33:43 -0500
committerChris Michael <cp.michael@samsung.com>2018-11-08 10:33:43 -0500
commit442f90fd4266a5f73f01921a640aa224a339c352 (patch)
treea1577ce09c225a0c75176b465d662039c45e360c
parentbryce: add missing EINA_UNUSED for unused function parameter (diff)
downloadenlightenment-442f90fd4266a5f73f01921a640aa224a339c352.tar.gz
e_fm: Replace use of deprecated edje_extern_object_aspect_set function
-rw-r--r--src/bin/e_fm.c5
1 files changed, 2 insertions, 3 deletions
diff --git a/src/bin/e_fm.c b/src/bin/e_fm.c
index 4d383e809..92d581943 100644
--- a/src/bin/e_fm.c
+++ b/src/bin/e_fm.c
@@ -7785,7 +7785,7 @@ _e_fm2_cb_icon_thumb_dnd_gen(void *data, Evas_Object *obj, void *event_info EINA
have_alpha = e_icon_alpha_get(obj);
// if (_e_fm2_view_mode_get(ic->sd) == E_FM2_VIEW_MODE_LIST)
{
- edje_extern_object_aspect_set(obj, EDJE_ASPECT_CONTROL_BOTH, w, h);
+ evas_object_size_hint_aspect_set(obj, EVAS_ASPECT_CONTROL_BOTH, w, h);
}
edje_object_part_swallow(o, "e.swallow.icon", obj);
if (have_alpha)
@@ -7816,8 +7816,7 @@ _e_fm2_cb_icon_thumb_gen(void *data, Evas_Object *obj, void *event_info EINA_UNU
have_alpha = e_icon_alpha_get(obj);
// if (_e_fm2_view_mode_get(ic->sd) == E_FM2_VIEW_MODE_LIST)
{
- edje_extern_object_aspect_set(obj,
- EDJE_ASPECT_CONTROL_BOTH, w, h);
+ evas_object_size_hint_aspect_set(obj, EVAS_ASPECT_CONTROL_BOTH, w, h);
}
edje_object_part_swallow(ic->obj, "e.swallow.icon", obj);
if (have_alpha)