Genlist: do not segv if the user clear the list on item double-click
authordavemds <dave@gurumeditation.it>
Sat, 9 Aug 2014 15:53:46 +0000 (17:53 +0200)
committerdavemds <dave@gurumeditation.it>
Sat, 9 Aug 2014 15:53:46 +0000 (17:53 +0200)
commit4059e2b5c3a93033e3926b2e4939206cfa504422
tree8d86915f455e9a950435ae03ae20c68219ba6ffb
parent708dd2ea88cc2f402f0399cd265dbc5ef443decb
Genlist: do not segv if the user clear the list on item double-click

@fix
moved the user callbacks call at the end of the function, so the user
is able to modify the list without making the code below the call to
fail miserably.

Also improved the Genlist Del test to also include this case.
src/bin/test_genlist.c
src/lib/elm_genlist.c