okra pushed a commit to branch master.

http://git.enlightenment.org/core/enlightenment.git/commit/?id=24591631eedc84551233a6722076fc98abca2878

commit 24591631eedc84551233a6722076fc98abca2878
Author: Stephen 'Okra' Houston <smhousto...@gmail.com>
Date:   Tue Sep 12 12:16:10 2017 -0500

    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);
      }

-- 


Reply via email to