summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAmitesh Singh <amitesh.sh@samsung.com>2014-05-15 12:09:33 +0900
committerCarsten Haitzler (Rasterman) <raster@rasterman.com>2014-05-15 12:09:33 +0900
commit87bafb8ef7061701ee45faa3059facfabbdab813 (patch)
treeaf7ea157d7e075bc63afe2d5cf33f3d200c62c74
parent231ed0a3b7e7fa20f622bd806cd912d4fe88780d (diff)
downloadelementary-87bafb8ef7061701ee45faa3059facfabbdab813.tar.gz
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
-rw-r--r--src/lib/elc_hoversel.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/lib/elc_hoversel.c b/src/lib/elc_hoversel.c
index a0578dfa8..7cb91f857 100644
--- a/src/lib/elc_hoversel.c
+++ b/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);