summaryrefslogtreecommitdiff
path: root/plugins/mRadio
diff options
context:
space:
mode:
authorGeorge Hazan <george.hazan@gmail.com>2014-09-17 11:52:04 +0000
committerGeorge Hazan <george.hazan@gmail.com>2014-09-17 11:52:04 +0000
commitb797c26e41a864d1a195b55d5ab191e87ddca762 (patch)
tree64bcafba0e6931d7c2fac31c1a62cf4f10884ef8 /plugins/mRadio
parent69f5bbaea93ae12a333d763327f98b26dae3792d (diff)
compilation fix
git-svn-id: http://svn.miranda-ng.org/main/trunk@10495 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'plugins/mRadio')
-rw-r--r--plugins/mRadio/i_tray.inc11
1 files 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;