[Genlist] Remove unused variable
authorTae-Hwan Kim <the81.kim@samsung.com>
Thu, 11 Apr 2013 02:36:50 +0000 (11:36 +0900)
committerSungho Kwak <sungho1.kwak@samsung.com>
Sun, 14 Apr 2013 09:40:08 +0000 (18:40 +0900)
Change-Id: I05a764fb25bbb46c0397370144d6dc7076bbc76d

src/lib/elm_genlist.c
src/lib/elm_widget_genlist.h

index e92dcd8..4c3ba60 100644 (file)
@@ -3400,11 +3400,6 @@ _item_multi_down_cb(void *data,
    GL_IT(it)->wsd->multi_touched = EINA_TRUE;
    GL_IT(it)->wsd->prev_mx = ev->canvas.x;
    GL_IT(it)->wsd->prev_my = ev->canvas.y;
-   /*
-   if (!GL_IT(it)->wsd->wasselected)
-     _item_unselect(it);
-   GL_IT(it)->wsd->wasselected = EINA_FALSE;
-     */
    if (it->long_timer)
      {
         ecore_timer_del(it->long_timer);
@@ -6128,6 +6123,7 @@ elm_genlist_item_item_class_update(Elm_Object_Item *item,
    if (!it->item->block) return;
    EINA_SAFETY_ON_NULL_RETURN(itc);
    it->itc = itc;
+
    it->item->nocache_once = EINA_TRUE;
 
    elm_widget_stringlist_free(it->texts);
index a352169..4895434 100644 (file)
@@ -250,7 +250,6 @@ struct _Elm_Genlist_Smart_Data
     * genlist now or not. */
    Eina_Bool                             check_scroll : 1;
    Eina_Bool                             pan_changed : 1;
-   Eina_Bool                             wasselected : 1;
    Eina_Bool                             homogeneous : 1;
    Eina_Bool                             longpressed : 1;