Pager gadget config: Don't add icon to an evas, add it to an elm widget.

This fixes T5952
This commit is contained in:
Stephen 'Okra' Houston 2017-09-12 12:16:10 -05:00
parent 20a96271ca
commit 24591631ee
1 changed files with 1 additions and 1 deletions

View File

@ -191,7 +191,7 @@ _config_update_btn(Evas_Object *button, const int mouse_button)
elm_object_text_set(button, lbl);
if (icon)
{
ic = elm_icon_add(evas_object_evas_get(button));
ic = elm_icon_add(button);
elm_icon_standard_set(ic, icon);
evas_object_size_hint_aspect_set(ic, EVAS_ASPECT_CONTROL_BOTH, 1, 1);
}