Add safety checks to genlist and gengrid.
authorRafael Fonseca <rfonseca@profusion.mobi>
Mon, 11 Oct 2010 02:09:36 +0000 (02:09 +0000)
committerRafael Fonseca <rfonseca@profusion.mobi>
Mon, 11 Oct 2010 02:09:36 +0000 (02:09 +0000)
commit73285498bb73334dbda5825b8ad2ba5b545e07c3
tree9c317b5ef35c959896855bb399237494f98312d7
parent2ab0a90e6806c16de50fe4784761734cf862fbb6
Add safety checks to genlist and gengrid.

The insert_(before|after) functions require a relative item so let's check for
it and appropriately return if it is not given.

SVN revision: 53253
src/lib/elm_gengrid.c
src/lib/elm_genlist.c