summaryrefslogtreecommitdiff
path: root/plugins/TabSRMM/src
diff options
context:
space:
mode:
Diffstat (limited to 'plugins/TabSRMM/src')
-rw-r--r--plugins/TabSRMM/src/chat/main.cpp20
1 files changed, 0 insertions, 20 deletions
diff --git a/plugins/TabSRMM/src/chat/main.cpp b/plugins/TabSRMM/src/chat/main.cpp
index aa152ef95b..52821f0123 100644
--- a/plugins/TabSRMM/src/chat/main.cpp
+++ b/plugins/TabSRMM/src/chat/main.cpp
@@ -45,17 +45,6 @@ static void OnCreateSession(SESSION_INFO *si, MODULEINFO *mi)
}
}
-static void OnDblClickSession(SESSION_INFO *si)
-{
- PostMessage(si->hWnd, GC_CLOSEWINDOW, 0, 0);
-}
-
-static void OnRemoveSession(SESSION_INFO *si)
-{
- if (si->hWnd)
- SendMessage(si->hWnd, GC_CONTROL_MSG, SESSION_TERMINATE, 0);
-}
-
static void OnReplaceSession(SESSION_INFO *si)
{
if (si->hContact)
@@ -70,12 +59,6 @@ static void OnSetTopic(SESSION_INFO *si)
SendMessage(si->hWnd, DM_INVALIDATEPANEL, 0, 0);
}
-static void OnSetStatusBar(SESSION_INFO *si)
-{
- if (si->hWnd)
- SendMessage(si->hWnd, GC_UPDATESTATUSBAR, 0, 0);
-}
-
static void OnNewUser(SESSION_INFO *si, USERINFO*)
{
if (si->hWnd) {
@@ -246,11 +229,8 @@ int Chat_Load()
pci->OnSetTopic = OnSetTopic;
pci->OnCreateSession = OnCreateSession;
- pci->OnRemoveSession = OnRemoveSession;
pci->OnReplaceSession = OnReplaceSession;
- pci->OnDblClickSession = OnDblClickSession;
- pci->OnSetStatusBar = OnSetStatusBar;
pci->OnChangeNick = OnChangeNick;
pci->ShowRoom = ShowRoom;
pci->OnLoadSettings = OnLoadSettings;