summaryrefslogtreecommitdiff
path: root/protocols/Tlen
diff options
context:
space:
mode:
Diffstat (limited to 'protocols/Tlen')
-rw-r--r--protocols/Tlen/src/tlen.cpp14
-rw-r--r--protocols/Tlen/src/tlen.h1
-rw-r--r--protocols/Tlen/src/tlen_svc.cpp1
3 files changed, 0 insertions, 16 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 );
diff --git a/protocols/Tlen/src/tlen.h b/protocols/Tlen/src/tlen.h
index 652e706348..e877986253 100644
--- a/protocols/Tlen/src/tlen.h
+++ b/protocols/Tlen/src/tlen.h
@@ -445,7 +445,6 @@ extern HANDLE hMainThread;
/*******************************************************************
* Function declarations
*******************************************************************/
-void uninitMenuItems(TlenProtocol *proto);
HICON GetIcolibIcon(int iconId);
void ReleaseIcolibIcon(HICON hIcon);
diff --git a/protocols/Tlen/src/tlen_svc.cpp b/protocols/Tlen/src/tlen_svc.cpp
index 53b657bc1e..003ec84619 100644
--- a/protocols/Tlen/src/tlen_svc.cpp
+++ b/protocols/Tlen/src/tlen_svc.cpp
@@ -1273,7 +1273,6 @@ TlenProtocol::TlenProtocol( const char *aProtoName, const TCHAR *aUserName) :
TlenProtocol::~TlenProtocol()
{
- uninitMenuItems(this);
TlenVoiceCancelAll(this);
TlenFileCancelAll(this);
if (hTlenNudge)