diff options
author | Mike Blumenkrantz <zmike@osg.samsung.com> | 2017-09-15 12:17:44 -0400 |
---|---|---|
committer | Mike Blumenkrantz <zmike@osg.samsung.com> | 2017-09-15 12:08:42 -0400 |
commit | 50473083d1f54951d919193e8f8373a7858c4122 (patch) | |
tree | ff3d4968bce69828756a85a11449ea3badceea57 | |
parent | 98dbaa909077ed2de05500dedf82feaaf0279206 (diff) | |
download | enlightenment-50473083d1f54951d919193e8f8373a7858c4122.tar.gz |
remove futile null check
CID 1381166
-rw-r--r-- | src/modules/luncher/bar.c | 9 |
1 files changed, 3 insertions, 6 deletions
diff --git a/src/modules/luncher/bar.c b/src/modules/luncher/bar.c index 70f26281ce..838804e7f9 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); } } |