hoversel: fix build error due to missing variable declaration 79/84479/1
authorJee-Yong Um <jc9.um@samsung.com>
Fri, 19 Aug 2016 02:39:51 +0000 (11:39 +0900)
committerJee-Yong Um <jc9.um@samsung.com>
Fri, 19 Aug 2016 02:40:35 +0000 (11:40 +0900)
Signed-Off-By: Jee-Yong Um <jc9.um@samsung.com>
Change-Id: Ic263eb9c47daeae6d425b8c6caeaf5b1bf09a2e4

src/lib/elc_hoversel.c

index 9a2aa6c..6bac4e8 100644 (file)
@@ -352,12 +352,16 @@ _resizing_eval(Evas_Object *obj, Elm_Hoversel_Data *sd)
    // TIZEN_ONLY(20150828): shrink item width expanding over hover parent
    if (!sd->horizontal)
      {
+        Eina_List *l;
+        Evas_Object *it;
+        Evas_Coord it_w, it_h;
+
         l = elm_box_children_get(bx);
         EINA_LIST_FREE(l, it)
           {
              evas_object_size_hint_min_get(it, &it_w, &it_h);
-             if (it_w > (ww - vw))
-               evas_object_size_hint_min_set(it, (ww - vw), it_h);
+             if (it_w > ww)
+               evas_object_size_hint_min_set(it, ww, it_h);
           }
      }
    //