summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDaniel Juyung Seo <seojuyung2@gmail.com>2014-02-03 14:58:08 +0900
committerDaniel Juyung Seo <seojuyung2@gmail.com>2014-02-03 14:58:08 +0900
commit8a68d8293f5967964edf39c2bb110edb63d299cb (patch)
tree8f4b8a76a14467b464a7a92f9601478dad64593b
parenta69f7831f98930863495f1fa6bac1f3c15354ce5 (diff)
hoversel: Removed unnecessary null check for elm_object apis.
-rw-r--r--src/lib/elc_hoversel.c10
1 files changed, 3 insertions, 7 deletions
diff --git a/src/lib/elc_hoversel.c b/src/lib/elc_hoversel.c
index 91fe2dd56..d6a86364d 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,
216 const char *emission, 216 const char *emission,
217 const char *source) 217 const char *source)
218{ 218{
219 if (VIEW(it)) 219 elm_object_signal_emit(VIEW(it), emission, source);
220 elm_object_signal_emit(VIEW(it), emission, source);
221} 220}
222 221
223static void 222static void
224_item_style_set_hook(Elm_Object_Item *it, 223_item_style_set_hook(Elm_Object_Item *it,
225 const char *style) 224 const char *style)
226{ 225{
227 if (VIEW(it)) 226 elm_object_style_set(VIEW(it), style);
228 elm_object_style_set(VIEW(it), style);
229} 227}
230 228
231static const char * 229static const char *
232_item_style_get_hook(Elm_Object_Item *it) 230_item_style_get_hook(Elm_Object_Item *it)
233{ 231{
234 if (VIEW(it)) 232 return elm_object_style_get(VIEW(it));
235 return elm_object_style_get(VIEW(it));
236 return NULL;
237} 233}
238 234
239static Eina_Bool 235static Eina_Bool