From 50473083d1f54951d919193e8f8373a7858c4122 Mon Sep 17 00:00:00 2001 From: Mike Blumenkrantz Date: Fri, 15 Sep 2017 12:17:44 -0400 Subject: [PATCH] remove futile null check CID 1381166 --- src/modules/luncher/bar.c | 9 +++------ 1 file changed, 3 insertions(+), 6 deletions(-) diff --git a/src/modules/luncher/bar.c b/src/modules/luncher/bar.c index 70f26281c..838804e7f 100644 --- a/src/modules/luncher/bar.c +++ b/src/modules/luncher/bar.c @@ -723,13 +723,10 @@ _bar_icon_preview_menu_hide(void *data, Evas *e EINA_UNUSED, Evas_Object *obj, v evas_object_event_callback_del_full(obj, EVAS_CALLBACK_HIDE, _bar_icon_preview_menu_hide, ic); ic->client_menu = NULL; - if (ic) + if (ic->preview) { - if (ic->preview) - { - ic->inst->current_preview_menu = EINA_FALSE; - _bar_icon_preview_mouse_out(ic, NULL, NULL, NULL); - } + ic->inst->current_preview_menu = EINA_FALSE; + _bar_icon_preview_mouse_out(ic, NULL, NULL, NULL); } }