discomfitor pushed a commit to branch master.

http://git.enlightenment.org/core/enlightenment.git/commit/?id=50473083d1f54951d919193e8f8373a7858c4122

commit 50473083d1f54951d919193e8f8373a7858c4122
Author: Mike Blumenkrantz <zm...@osg.samsung.com>
Date:   Fri Sep 15 12:17:44 2017 -0400

    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);
      }
 }
 

-- 


Reply via email to