diff options
author | George Hazan <george.hazan@gmail.com> | 2015-06-25 12:23:28 +0000 |
---|---|---|
committer | George Hazan <george.hazan@gmail.com> | 2015-06-25 12:23:28 +0000 |
commit | adca17ccaecda72c8dd1234f1a7b91a0d5aff564 (patch) | |
tree | f0eaacc2570951ed615afd310f7f7ab144b612a9 /plugins/Clist_nicer/src/CLUIFrames/cluiframes.cpp | |
parent | 12d7476bd6e91fd3020a83b9249b63bafe68cd1d (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/Clist_nicer/src/CLUIFrames/cluiframes.cpp')
-rw-r--r-- | plugins/Clist_nicer/src/CLUIFrames/cluiframes.cpp | 24 |
1 files changed, 12 insertions, 12 deletions
diff --git a/plugins/Clist_nicer/src/CLUIFrames/cluiframes.cpp b/plugins/Clist_nicer/src/CLUIFrames/cluiframes.cpp index 7f30fff6d2..4dcb13a226 100644 --- a/plugins/Clist_nicer/src/CLUIFrames/cluiframes.cpp +++ b/plugins/Clist_nicer/src/CLUIFrames/cluiframes.cpp @@ -1381,7 +1381,7 @@ static int CLUIFramesLoadMainMenu() return -1; if (MainMIRoot != (HANDLE)-1) { - CallService(MO_REMOVEMENUITEM, (WPARAM)MainMIRoot, 0); + Menu_RemoveItem(MainMIRoot); MainMIRoot = (HGENMENU)-1; } @@ -3012,17 +3012,17 @@ static int CLUIFrameOnModulesUnload(WPARAM, LPARAM) WaitForSingleObject(hThreadMFUpdate, 2000); CloseHandle(g_hEventThread); - CallService(MO_REMOVEMENUITEM, (LPARAM)contMIVisible, 0); - CallService(MO_REMOVEMENUITEM, (LPARAM)contMITitle, 0); - CallService(MO_REMOVEMENUITEM, (LPARAM)contMITBVisible, 0); - CallService(MO_REMOVEMENUITEM, (LPARAM)contMILock, 0); - CallService(MO_REMOVEMENUITEM, (LPARAM)contMIColl, 0); - CallService(MO_REMOVEMENUITEM, (LPARAM)contMIFloating, 0); - CallService(MO_REMOVEMENUITEM, (LPARAM)contMIAlignRoot, 0); - CallService(MO_REMOVEMENUITEM, (LPARAM)contMIAlignTop, 0); - CallService(MO_REMOVEMENUITEM, (LPARAM)contMIAlignClient, 0); - CallService(MO_REMOVEMENUITEM, (LPARAM)contMIAlignBottom, 0); - CallService(MO_REMOVEMENUITEM, (LPARAM)contMIBorder, 0); + Menu_RemoveItem(contMIVisible); + Menu_RemoveItem(contMITitle); + Menu_RemoveItem(contMITBVisible); + Menu_RemoveItem(contMILock); + Menu_RemoveItem(contMIColl); + Menu_RemoveItem(contMIFloating); + Menu_RemoveItem(contMIAlignRoot); + Menu_RemoveItem(contMIAlignTop); + Menu_RemoveItem(contMIAlignClient); + Menu_RemoveItem(contMIAlignBottom); + Menu_RemoveItem(contMIBorder); return 0; } |