summaryrefslogtreecommitdiff
path: root/src/modules
diff options
context:
space:
mode:
authorStephen 'Okra' Houston <smhouston88@gmail.com>2017-09-12 12:16:10 -0500
committerStephen 'Okra' Houston <smhouston88@gmail.com>2017-09-12 12:16:32 -0500
commit24591631eedc84551233a6722076fc98abca2878 (patch)
treef91e5613f270cae4d256a41b82b5414ec032ce72 /src/modules
parent20a96271ca5ce95e983b466b5a2efc4b35f60fc3 (diff)
Pager gadget config: Don't add icon to an evas, add it to an elm widget.
This fixes T5952
Diffstat (limited to 'src/modules')
-rw-r--r--src/modules/pager/gadget/config.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/modules/pager/gadget/config.c b/src/modules/pager/gadget/config.c
index e29c61c..331882b 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)
191 elm_object_text_set(button, lbl); 191 elm_object_text_set(button, lbl);
192 if (icon) 192 if (icon)
193 { 193 {
194 ic = elm_icon_add(evas_object_evas_get(button)); 194 ic = elm_icon_add(button);
195 elm_icon_standard_set(ic, icon); 195 elm_icon_standard_set(ic, icon);
196 evas_object_size_hint_aspect_set(ic, EVAS_ASPECT_CONTROL_BOTH, 1, 1); 196 evas_object_size_hint_aspect_set(ic, EVAS_ASPECT_CONTROL_BOTH, 1, 1);
197 } 197 }