summaryrefslogtreecommitdiff
path: root/src/modules
diff options
context:
space:
mode:
authorMike Blumenkrantz <zmike@osg.samsung.com>2017-09-15 12:17:44 -0400
committerMike Blumenkrantz <zmike@osg.samsung.com>2017-09-15 12:08:42 -0400
commit50473083d1f54951d919193e8f8373a7858c4122 (patch)
treeff3d4968bce69828756a85a11449ea3badceea57 /src/modules
parent98dbaa909077ed2de05500dedf82feaaf0279206 (diff)
remove futile null check
CID 1381166
Diffstat (limited to 'src/modules')
-rw-r--r--src/modules/luncher/bar.c9
1 files changed, 3 insertions, 6 deletions
diff --git a/src/modules/luncher/bar.c b/src/modules/luncher/bar.c
index 70f2628..838804e 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
723 723
724 evas_object_event_callback_del_full(obj, EVAS_CALLBACK_HIDE, _bar_icon_preview_menu_hide, ic); 724 evas_object_event_callback_del_full(obj, EVAS_CALLBACK_HIDE, _bar_icon_preview_menu_hide, ic);
725 ic->client_menu = NULL; 725 ic->client_menu = NULL;
726 if (ic) 726 if (ic->preview)
727 { 727 {
728 if (ic->preview) 728 ic->inst->current_preview_menu = EINA_FALSE;
729 { 729 _bar_icon_preview_mouse_out(ic, NULL, NULL, NULL);
730 ic->inst->current_preview_menu = EINA_FALSE;
731 _bar_icon_preview_mouse_out(ic, NULL, NULL, NULL);
732 }
733 } 730 }
734} 731}
735 732