summaryrefslogtreecommitdiff
path: root/protocols/Tlen/src/tlen.cpp
diff options
context:
space:
mode:
authorGeorge Hazan <george.hazan@gmail.com>2014-09-16 14:02:41 +0000
committerGeorge Hazan <george.hazan@gmail.com>2014-09-16 14:02:41 +0000
commitcf1c8283aca6d09ddfc42d18c8ecc38bbc0f65fb (patch)
treecf3ec04ee9f1000cdd5e8b3d88b14d684f12646a /protocols/Tlen/src/tlen.cpp
parent8cbf63303a7f35241fa1ba2bd4ca8306e81d1837 (diff)
MS_CLIST_REMOVEMAINMENUITEM also removed
git-svn-id: http://svn.miranda-ng.org/main/trunk@10480 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'protocols/Tlen/src/tlen.cpp')
-rw-r--r--protocols/Tlen/src/tlen.cpp14
1 files changed, 0 insertions, 14 deletions
diff --git a/protocols/Tlen/src/tlen.cpp b/protocols/Tlen/src/tlen.cpp
index 92d7e4f813..9897d5b873 100644
--- a/protocols/Tlen/src/tlen.cpp
+++ b/protocols/Tlen/src/tlen.cpp
@@ -345,20 +345,6 @@ void TlenProtocol::initMenuItems()
hMenuContactGrantAuth = Menu_AddContactMenuItem(&mi);
}
-void uninitMenuItems(TlenProtocol *proto)
-{
- CallService(MS_CLIST_REMOVEMAINMENUITEM, (WPARAM)proto->hMenuChats, (LPARAM) 0);
- CallService(MS_CLIST_REMOVEMAINMENUITEM, (WPARAM)proto->hMenuMUC, (LPARAM) 0);
- CallService(MS_CLIST_REMOVEMAINMENUITEM, (WPARAM)proto->hMenuInbox, (LPARAM) 0);
- CallService(MS_CLIST_REMOVEMAINMENUITEM, (WPARAM)proto->hMenuRoot, (LPARAM) 0);
-
- CallService(MO_REMOVEMENUITEM, (WPARAM)proto->hMenuContactMUC, 0);
- CallService(MO_REMOVEMENUITEM, (WPARAM)proto->hMenuPicture, 0);
- CallService(MO_REMOVEMENUITEM, (WPARAM)proto->hMenuContactVoice, 0);
- CallService(MO_REMOVEMENUITEM, (WPARAM)proto->hMenuContactRequestAuth, 0);
- CallService(MO_REMOVEMENUITEM, (WPARAM)proto->hMenuContactGrantAuth, 0);
-}
-
TlenProtocol* tlenProtoInit(const char* pszProtoName, const TCHAR* tszUserName)
{
TlenProtocol* ppro = new TlenProtocol( pszProtoName, tszUserName );