Widget: Removed !obj checks from ELM_WIDGET_DATA_GET_OR_RETURN and ELM_WIDGET_CHECK
authorRyuan Choi <ryuan.choi@gmail.com>
Mon, 13 Jan 2014 12:11:04 +0000 (21:11 +0900)
committerRyuan Choi <ryuan.choi@gmail.com>
Mon, 13 Jan 2014 12:11:04 +0000 (21:11 +0900)
commit4c3e23de9e46fd89672ab657f5da153a3c26a029
tree243fe4bd7a3d2c59f8bc3ae99c15066adda6656d
parentdb702e1e1fdddec6ffae762848cf64a75ac5bc8f
Widget: Removed !obj checks from ELM_WIDGET_DATA_GET_OR_RETURN and ELM_WIDGET_CHECK

eo_data_scope_get and eo_isa returns NULL with complaint when NULL is passed.
So, Removed unnecessary !obj check routine.

In addition, adopt EINA_UNLIKELY for these macros and fix indentation.
src/lib/elm_widget.h