diff options
author | George Hazan <ghazan@miranda.im> | 2016-12-19 17:17:27 +0300 |
---|---|---|
committer | George Hazan <ghazan@miranda.im> | 2016-12-19 17:30:39 +0300 |
commit | 877a445bdf3ac484e564bb1d62610eeb1329e991 (patch) | |
tree | 245ddad068e973c3abb54b304cc7e3ae8cafb0f4 /src/core | |
parent | b95a789fc6c46eb3b56011946b259fe57159d69c (diff) |
unused member removed
Diffstat (limited to 'src/core')
-rw-r--r-- | src/core/stdmsg/src/chat_manager.cpp | 23 |
1 files changed, 0 insertions, 23 deletions
diff --git a/src/core/stdmsg/src/chat_manager.cpp b/src/core/stdmsg/src/chat_manager.cpp index b1f45c943e..0f30acdbc1 100644 --- a/src/core/stdmsg/src/chat_manager.cpp +++ b/src/core/stdmsg/src/chat_manager.cpp @@ -93,32 +93,12 @@ static void OnCreateModule(MODULEINFO *mi) ImageList_AddIcon(hIconsList, mi->hOfflineTalkIcon); } -static void OnDblClickSession(SESSION_INFO *si) -{ - if (g_Settings.bTabsEnable) - SendMessage(GetParent(GetParent(si->hWnd)), GC_REMOVETAB, 0, (LPARAM)si->pDlg); - else - 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->hWnd) RedrawWindow(GetDlgItem(si->hWnd, IDC_LIST), NULL, NULL, RDW_INVALIDATE); } -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) @@ -230,12 +210,9 @@ void Load_ChatModule() pci->OnNewUser = OnNewUser; pci->OnCreateModule = OnCreateModule; - pci->OnRemoveSession = OnRemoveSession; pci->OnReplaceSession = OnReplaceSession; - pci->OnDblClickSession = OnDblClickSession; pci->OnLoadSettings = OnLoadSettings; - pci->OnSetStatusBar = OnSetStatusBar; pci->OnFlashWindow = OnFlashWindow; pci->OnFlashHighlight = OnFlashHighlight; pci->ShowRoom = ShowRoom; |