elm_genlist: do not check scroll if show_item is NULL
authorMinkyu Kang <mk7.kang@samsung.com>
Tue, 7 Feb 2017 23:00:35 +0000 (15:00 -0800)
committerCedric BAIL <cedric@osg.samsung.com>
Tue, 7 Feb 2017 23:14:54 +0000 (15:14 -0800)
commit669d95252a6a31660f43f075e743ecde316f7fb6
tree3862f848e523595d5d66d6d3aba885e07586d6e6
parent808fcf4daeb8fa7eeef276c72e34c441c09e3214
elm_genlist: do not check scroll if show_item is NULL

Summary:
If show_item is NULL then does not need to check scroll.
But, sometimes show_item is NULL but check_scroll is true.
It was wrong and can makes a crash.

Signed-off-by: Minkyu Kang <mk7.kang@samsung.com>
Reviewers: cedric, Hermet, SanghyeonLee, raster

Subscribers: jpeg

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

Signed-off-by: Cedric BAIL <cedric@osg.samsung.com>
src/lib/elementary/elm_genlist.c