seoz pushed a commit to branch master. http://git.enlightenment.org/core/elementary.git/commit/?id=8a68d8293f5967964edf39c2bb110edb63d299cb
commit 8a68d8293f5967964edf39c2bb110edb63d299cb Author: Daniel Juyung Seo <[email protected]> Date: Mon Feb 3 14:58:08 2014 +0900 hoversel: Removed unnecessary null check for elm_object apis. --- src/lib/elc_hoversel.c | 10 +++------- 1 file changed, 3 insertions(+), 7 deletions(-) diff --git a/src/lib/elc_hoversel.c b/src/lib/elc_hoversel.c index 91fe2dd..d6a8636 100644 --- a/src/lib/elc_hoversel.c +++ b/src/lib/elc_hoversel.c @@ -216,24 +216,20 @@ _item_signal_emit_hook(Elm_Object_Item *it, const char *emission, const char *source) { - if (VIEW(it)) - elm_object_signal_emit(VIEW(it), emission, source); + elm_object_signal_emit(VIEW(it), emission, source); } static void _item_style_set_hook(Elm_Object_Item *it, const char *style) { - if (VIEW(it)) - elm_object_style_set(VIEW(it), style); + elm_object_style_set(VIEW(it), style); } static const char * _item_style_get_hook(Elm_Object_Item *it) { - if (VIEW(it)) - return elm_object_style_get(VIEW(it)); - return NULL; + return elm_object_style_get(VIEW(it)); } static Eina_Bool --
