From 24591631eedc84551233a6722076fc98abca2878 Mon Sep 17 00:00:00 2001 From: Stephen 'Okra' Houston Date: Tue, 12 Sep 2017 12:16:10 -0500 Subject: [PATCH] Pager gadget config: Don't add icon to an evas, add it to an elm widget. This fixes T5952 --- src/modules/pager/gadget/config.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/modules/pager/gadget/config.c b/src/modules/pager/gadget/config.c index e29c61cf7..331882b41 100644 --- a/src/modules/pager/gadget/config.c +++ b/src/modules/pager/gadget/config.c @@ -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); }