elm: Fix some ERR messages following previous patch
authorJean-Philippe Andre <jp.andre@samsung.com>
Fri, 26 Aug 2016 08:09:38 +0000 (17:09 +0900)
committerJean-Philippe Andre <jp.andre@samsung.com>
Fri, 26 Aug 2016 08:15:05 +0000 (17:15 +0900)
commit3b175fd7e9e3e251d1f53909aa6a32e8e3a54461
treed0a6363ace3e90e4737fe5ad18ab0c69b06bd6a1
parent5fc5cff03ee5b8071adeb17b9e8fb1b4f86227ef
elm: Fix some ERR messages following previous patch

This simply avoids calling functions on NULL objects, since
the previous patch would ERR out rather than silently ignore
the problem.

I just add explicit NULL checks before calling the functions,
so it's clear the object could be NULL (in the widget).
src/lib/elementary/efl_ui_win.c
src/lib/elementary/elm_gengrid.c
src/lib/elementary/elm_genlist.c