Gengrid: fix segv in _elm_gengrid_item_edge_check.

Reviewers: raster, seoz

Reviewed By: raster

CC: seoz

Differential Revision: https://phab.enlightenment.org/D695
This commit is contained in:
Amitesh Singh 2014-04-03 21:06:36 +09:00 committed by Carsten Haitzler (Rasterman)
parent dea994be94
commit 13d69bcd9d
1 changed files with 1 additions and 0 deletions

View File

@ -1843,6 +1843,7 @@ static Eina_Bool
_elm_gengrid_item_edge_check(Elm_Object_Item *it,
Elm_Focus_Direction dir)
{
ELM_GENGRID_ITEM_CHECK_OR_RETURN(it, EINA_FALSE);
ELM_GENGRID_DATA_GET(WIDGET(it), sd);
Evas_Coord ix = 0, iy = 0; //item's geometry
Evas_Coord cx = 0, cy = 0; //prev or next item's geometry