e_xkb: Replace deprecated edje_extern_object_aspect_set function
This commit is contained in:
parent
442f90fd42
commit
c1a583d0cf
|
@ -476,7 +476,7 @@ e_xkb_e_icon_flag_setup(Evas_Object *eicon, const char *name)
|
||||||
e_icon_preload_set(eicon, EINA_FALSE);
|
e_icon_preload_set(eicon, EINA_FALSE);
|
||||||
e_icon_file_set(eicon, buf);
|
e_icon_file_set(eicon, buf);
|
||||||
e_icon_size_get(eicon, &w, &h);
|
e_icon_size_get(eicon, &w, &h);
|
||||||
edje_extern_object_aspect_set(eicon, EDJE_ASPECT_CONTROL_BOTH, w, h);
|
evas_object_size_hint_aspect_set(eicon, EVAS_ASPECT_CONTROL_BOTH, w, h);
|
||||||
}
|
}
|
||||||
|
|
||||||
E_API void
|
E_API void
|
||||||
|
|
Loading…
Reference in New Issue