summaryrefslogtreecommitdiff
path: root/plugins
diff options
context:
space:
mode:
authorGeorge Hazan <ghazan@miranda.im>2016-12-15 23:29:39 +0300
committerGeorge Hazan <ghazan@miranda.im>2016-12-15 23:29:39 +0300
commit63dd9362a3f8f071669de8f03c06d74a7a617eb8 (patch)
tree78727f52ba4ee6f2720fb89d65fd73a84cc3e97f /plugins
parent47a8f51fb9830ac470c40dfce3ce27c09fd82d7b (diff)
new methods of CCtrlPages
Diffstat (limited to 'plugins')
-rw-r--r--plugins/Scriver/src/chat/main.cpp7
-rw-r--r--plugins/TabSRMM/src/chat/main.cpp13
2 files changed, 0 insertions, 20 deletions
diff --git a/plugins/Scriver/src/chat/main.cpp b/plugins/Scriver/src/chat/main.cpp
index 7e2ff29318..53e25f6e28 100644
--- a/plugins/Scriver/src/chat/main.cpp
+++ b/plugins/Scriver/src/chat/main.cpp
@@ -56,12 +56,6 @@ static void OnRemoveSession(SESSION_INFO *si)
SendMessage(si->hWnd, GC_CONTROL_MSG, SESSION_TERMINATE, 0);
}
-static void OnRenameSession(SESSION_INFO *si)
-{
- if (si->hWnd)
- SendMessage(si->hWnd, DM_UPDATETITLEBAR, 0, 0);
-}
-
static void OnReplaceSession(SESSION_INFO *si)
{
if (si->hWnd)
@@ -149,7 +143,6 @@ int Chat_Load()
pci->OnSetStatus = OnSetStatus;
pci->OnRemoveSession = OnRemoveSession;
- pci->OnRenameSession = OnRenameSession;
pci->OnReplaceSession = OnReplaceSession;
pci->OnDblClickSession = OnDblClickSession;
diff --git a/plugins/TabSRMM/src/chat/main.cpp b/plugins/TabSRMM/src/chat/main.cpp
index a7c5d17be8..aa152ef95b 100644
--- a/plugins/TabSRMM/src/chat/main.cpp
+++ b/plugins/TabSRMM/src/chat/main.cpp
@@ -56,12 +56,6 @@ static void OnRemoveSession(SESSION_INFO *si)
SendMessage(si->hWnd, GC_CONTROL_MSG, SESSION_TERMINATE, 0);
}
-static void OnRenameSession(SESSION_INFO *si)
-{
- if (si->hWnd)
- SendMessage(si->hWnd, GC_UPDATETITLE, 0, 0);
-}
-
static void OnReplaceSession(SESSION_INFO *si)
{
if (si->hContact)
@@ -100,11 +94,6 @@ static void OnChangeNick(SESSION_INFO *si)
}
}
-static void OnSetStatus(SESSION_INFO *si, int)
-{
- PostMessage(si->hWnd, GC_FIXTABICONS, 0, 0);
-}
-
static void OnCreateModule(MODULEINFO *mi)
{
mi->idleTimeStamp = time(0);
@@ -254,12 +243,10 @@ int Chat_Load()
pci->OnCreateModule = OnCreateModule;
pci->OnNewUser = OnNewUser;
- pci->OnSetStatus = OnSetStatus;
pci->OnSetTopic = OnSetTopic;
pci->OnCreateSession = OnCreateSession;
pci->OnRemoveSession = OnRemoveSession;
- pci->OnRenameSession = OnRenameSession;
pci->OnReplaceSession = OnReplaceSession;
pci->OnDblClickSession = OnDblClickSession;