From b797c26e41a864d1a195b55d5ab191e87ddca762 Mon Sep 17 00:00:00 2001 From: George Hazan Date: Wed, 17 Sep 2014 11:52:04 +0000 Subject: compilation fix git-svn-id: http://svn.miranda-ng.org/main/trunk@10495 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c --- plugins/mRadio/i_tray.inc | 11 ++--------- 1 file changed, 2 insertions(+), 9 deletions(-) diff --git a/plugins/mRadio/i_tray.inc b/plugins/mRadio/i_tray.inc index 02d1ae5fd8..75ad569839 100644 --- a/plugins/mRadio/i_tray.inc +++ b/plugins/mRadio/i_tray.inc @@ -82,10 +82,7 @@ begin begin mFreeMem(tmp.name); DestroyServiceFunction(tmp.service); - if doTray then - CallService(MS_CLIST_REMOVETRAYMENUITEM,tmp.menuitem,0) - else - CallService(MO_REMOVEMENUITEM,tmp.menuitem,0); + CallService(MO_REMOVEMENUITEM,tmp.menuitem,0); mFreeMem(tmp); List_Remove(@trayStations,i); end; @@ -307,15 +304,11 @@ begin tmp:=pTrayRadioStation(trayStations.Items[i]); mFreeMem(tmp.name); DestroyServiceFunction(tmp.service); -// CallService(MS_CLIST_REMOVETRAYMENUITEM,tmp.menuitem,0); mFreeMem(tmp); end; List_Destroy(@trayStations); DestroyServiceFunction(srvtrayplaypause); DestroyServiceFunction(srvtraystop); - if doTray then - CallService(MS_CLIST_REMOVETRAYMENUITEM,trayradioparent,0) - else - CallService(MO_REMOVEMENUITEM,trayradioparent,0); + CallService(MO_REMOVEMENUITEM,trayradioparent,0); end; -- cgit v1.2.3