summaryrefslogtreecommitdiff
path: root/plugins/mRadio/i_tray.inc
diff options
context:
space:
mode:
Diffstat (limited to 'plugins/mRadio/i_tray.inc')
-rw-r--r--plugins/mRadio/i_tray.inc4
1 files changed, 2 insertions, 2 deletions
diff --git a/plugins/mRadio/i_tray.inc b/plugins/mRadio/i_tray.inc
index 7ed794c1a7..4a32675903 100644
--- a/plugins/mRadio/i_tray.inc
+++ b/plugins/mRadio/i_tray.inc
@@ -82,7 +82,7 @@ begin
begin
mFreeMem(tmp.name);
DestroyServiceFunction(tmp.service);
- CallService(MO_REMOVEMENUITEM,tmp.menuitem,0);
+ Menu_RemoveItem(tmp.menuitem);
mFreeMem(tmp);
List_Remove(@trayStations,i);
end;
@@ -281,5 +281,5 @@ begin
DestroyServiceFunction(srvtrayplaypause);
DestroyServiceFunction(srvtraystop);
- CallService(MO_REMOVEMENUITEM,trayradioparent,0);
+ Menu_RemoveItem(trayradioparent);
end;