elm_gengrid: fix missing variable initialization.
authorHosang Kim <hosang12.kim@samsung.com>
Mon, 27 Jul 2015 04:59:22 +0000 (13:59 +0900)
committerSangHyeon Lee <sh10233.lee@samsung.com>
Mon, 27 Jul 2015 04:59:29 +0000 (13:59 +0900)
Summary:
- item's still_in variable is not initialized.

@fix

Reviewers: seoz, singh.amitesh, raster, SanghyeonLee

Reviewed By: SanghyeonLee

Differential Revision: https://phab.enlightenment.org/D2871

src/lib/elm_gengrid.c

index 320375b..010c099 100644 (file)
@@ -788,6 +788,7 @@ _item_mouse_down_cb(void *data,
    it->dx = ev->canvas.x - x;
    it->dy = ev->canvas.y - y;
    sd->longpressed = EINA_FALSE;
+   it->base->still_in = EINA_TRUE;
 
    if (ev->event_flags & EVAS_EVENT_FLAG_ON_HOLD)
      sd->on_hold = EINA_TRUE;