From e6748f033ae9b9082e7b943dab104cacb0a7010c Mon Sep 17 00:00:00 2001 From: Amitesh Singh Date: Thu, 15 May 2014 12:09:33 +0900 Subject: [PATCH] hoversel: Icon parent set to button. Summary: This is an optimization over parent set to hoversel object. Reviewers: seoz, raster CC: seoz Differential Revision: https://phab.enlightenment.org/D853 --- legacy/elementary/src/lib/elc_hoversel.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/legacy/elementary/src/lib/elc_hoversel.c b/legacy/elementary/src/lib/elc_hoversel.c index a0578df..7cb91f8 100644 --- a/legacy/elementary/src/lib/elc_hoversel.c +++ b/legacy/elementary/src/lib/elc_hoversel.c @@ -185,7 +185,7 @@ _activate(Evas_Object *obj) if (item->icon_file) { - ic = elm_icon_add(obj); + ic = elm_icon_add(bt); elm_image_resizable_set(ic, EINA_FALSE, EINA_TRUE); if (item->icon_type == ELM_ICON_FILE) elm_image_file_set(ic, item->icon_file, item->icon_group); -- 2.7.4