summaryrefslogtreecommitdiff
path: root/plugins/Watrack
diff options
context:
space:
mode:
authorGeorge Hazan <george.hazan@gmail.com>2015-06-25 12:23:28 +0000
committerGeorge Hazan <george.hazan@gmail.com>2015-06-25 12:23:28 +0000
commitadca17ccaecda72c8dd1234f1a7b91a0d5aff564 (patch)
treef0eaacc2570951ed615afd310f7f7ab144b612a9 /plugins/Watrack
parent12d7476bd6e91fd3020a83b9249b63bafe68cd1d (diff)
another portion of dead genmenu services
git-svn-id: http://svn.miranda-ng.org/main/trunk@14377 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'plugins/Watrack')
-rw-r--r--plugins/Watrack/lastfm/lastfm.pas2
-rw-r--r--plugins/Watrack/popup/popups.pas2
-rw-r--r--plugins/Watrack/stat/statlog.pas2
3 files changed, 3 insertions, 3 deletions
diff --git a/plugins/Watrack/lastfm/lastfm.pas b/plugins/Watrack/lastfm/lastfm.pas
index b814359974..12a144a8a7 100644
--- a/plugins/Watrack/lastfm/lastfm.pas
+++ b/plugins/Watrack/lastfm/lastfm.pas
@@ -234,7 +234,7 @@ begin
else
DestroyServiceFunction(slastinf);
- CallService(MO_REMOVEMENUITEM,hMenuLast,0);
+ Menu_RemoveItem(hMenuLast);
hMenuLast:=0;
DestroyServiceFunction(slast);
diff --git a/plugins/Watrack/popup/popups.pas b/plugins/Watrack/popup/popups.pas
index cf149f0adf..d714facb52 100644
--- a/plugins/Watrack/popup/popups.pas
+++ b/plugins/Watrack/popup/popups.pas
@@ -524,7 +524,7 @@ begin
if aSetDisable then
SetModStatus(0);
- CallService(MO_REMOVEMENUITEM,hMenuInfo,0);
+ Menu_RemoveItem(hMenuInfo);
UnhookEvent(plStatusHook);
DestroyServiceFunction(ssmi);
diff --git a/plugins/Watrack/stat/statlog.pas b/plugins/Watrack/stat/statlog.pas
index 38a8f01af8..c1a9fe0a76 100644
--- a/plugins/Watrack/stat/statlog.pas
+++ b/plugins/Watrack/stat/statlog.pas
@@ -596,7 +596,7 @@ begin
if aSetDisable then
SetModStatus(0);
- CallService(MO_REMOVEMENUITEM,hMenuReport,0);
+ Menu_RemoveItem(hMenuReport);
DestroyServiceFunction(hPackLog);
DestroyServiceFunction(hMakeReport);
DestroyServiceFunction(hAddToLog);