hoversel: Icon parent set to button.
authorAmitesh Singh <amitesh.sh@samsung.com>
Thu, 15 May 2014 03:09:33 +0000 (12:09 +0900)
committerCarsten Haitzler (Rasterman) <raster@rasterman.com>
Thu, 15 May 2014 03:09:33 +0000 (12:09 +0900)
Summary: This is an optimization over parent set to hoversel object.

Reviewers: seoz, raster

CC: seoz
Differential Revision: https://phab.enlightenment.org/D853

src/lib/elc_hoversel.c

index a0578df..7cb91f8 100644 (file)
@@ -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);