From 6029165c364f93a84ab7e98ef71d3a711b0f588c Mon Sep 17 00:00:00 2001 From: George Hazan Date: Wed, 10 Apr 2013 21:08:51 +0000 Subject: attempt to fix the most crazy pieces of status icons related code git-svn-id: http://svn.miranda-ng.org/main/trunk@4417 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c --- protocols/JabberG/src/jabber.cpp | 32 -------------------------------- 1 file changed, 32 deletions(-) (limited to 'protocols/JabberG/src/jabber.cpp') diff --git a/protocols/JabberG/src/jabber.cpp b/protocols/JabberG/src/jabber.cpp index 43190cdfd7..2c76951eb0 100644 --- a/protocols/JabberG/src/jabber.cpp +++ b/protocols/JabberG/src/jabber.cpp @@ -103,38 +103,6 @@ extern "C" __declspec(dllexport) PLUGININFOEX *MirandaPluginInfoEx(DWORD miranda extern "C" __declspec(dllexport) const MUUID MirandaInterfaces[] = {MIID_PROTOCOL, MIID_LAST}; -/////////////////////////////////////////////////////////////////////////////// -// OnPreShutdown - prepares Miranda to be shut down - -int __cdecl CJabberProto::OnPreShutdown(WPARAM, LPARAM) -{ - UI_SAFE_CLOSE_HWND(m_hwndAgentRegInput); - UI_SAFE_CLOSE_HWND(m_hwndRegProgress); - UI_SAFE_CLOSE_HWND(m_hwndMucVoiceList); - UI_SAFE_CLOSE_HWND(m_hwndMucMemberList); - UI_SAFE_CLOSE_HWND(m_hwndMucModeratorList); - UI_SAFE_CLOSE_HWND(m_hwndMucBanList); - UI_SAFE_CLOSE_HWND(m_hwndMucAdminList); - UI_SAFE_CLOSE_HWND(m_hwndMucOwnerList); - UI_SAFE_CLOSE_HWND(m_hwndJabberChangePassword); - UI_SAFE_CLOSE_HWND(m_hwndJabberAddBookmark); - UI_SAFE_CLOSE_HWND(m_hwndPrivacyRule); - - UI_SAFE_CLOSE(m_pDlgPrivacyLists); - UI_SAFE_CLOSE(m_pDlgBookmarks); - UI_SAFE_CLOSE(m_pDlgServiceDiscovery); - UI_SAFE_CLOSE(m_pDlgJabberJoinGroupchat); - UI_SAFE_CLOSE(m_pDlgNotes); - - m_iqManager.ExpireAll(); - m_iqManager.Shutdown(); - m_messageManager.Shutdown(); - m_presenceManager.Shutdown(); - m_sendManager.Shutdown(); - ConsoleUninit(); - return 0; -} - /////////////////////////////////////////////////////////////////////////////// // OnModulesLoaded - execute some code when all plugins are initialized -- cgit v1.2.3