diff options
author | MikalaiR <nikolay.romanovich@narod.ru> | 2015-05-05 11:38:55 +0000 |
---|---|---|
committer | MikalaiR <nikolay.romanovich@narod.ru> | 2015-05-05 11:38:55 +0000 |
commit | 109ac08a6f37674f4e0ebbf018ec78486347bf46 (patch) | |
tree | e8e6371692dcc13e286a716a9400ee0c334f77b2 /protocols | |
parent | e7769e940344cc40972b886765e423683f3d43c6 (diff) |
SkypeWeb: Small fixes.
git-svn-id: http://svn.miranda-ng.org/main/trunk@13438 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'protocols')
-rw-r--r-- | protocols/SkypeWeb/src/skype_proto.cpp | 8 | ||||
-rw-r--r-- | protocols/SkypeWeb/src/skype_proto.h | 10 |
2 files changed, 15 insertions, 3 deletions
diff --git a/protocols/SkypeWeb/src/skype_proto.cpp b/protocols/SkypeWeb/src/skype_proto.cpp index ffda491a32..5333774260 100644 --- a/protocols/SkypeWeb/src/skype_proto.cpp +++ b/protocols/SkypeWeb/src/skype_proto.cpp @@ -78,6 +78,12 @@ CSkypeProto::~CSkypeProto() delete requestQueue;
Netlib_CloseHandle(m_hNetlibUser);
m_hNetlibUser = NULL;
+
+ if (m_hPopupClassCall)
+ Popup_UnregisterClass(m_hPopupClassCall);
+ if (m_hPopupClassNotify)
+ Popup_UnregisterClass(m_hPopupClassNotify);
+
skypeInstances.remove(this);
}
@@ -330,5 +336,5 @@ void CSkypeProto::InitPopups() ppc.colorBack = RGB(255, 255, 255);
ppc.colorText = RGB(0, 0, 0);
ppc.iSeconds = 5;
- m_hPopupClassCall = Popup_RegisterClass(&ppc);
+ m_hPopupClassNotify = Popup_RegisterClass(&ppc);
}
\ No newline at end of file diff --git a/protocols/SkypeWeb/src/skype_proto.h b/protocols/SkypeWeb/src/skype_proto.h index cd358905aa..d7f6fe5aba 100644 --- a/protocols/SkypeWeb/src/skype_proto.h +++ b/protocols/SkypeWeb/src/skype_proto.h @@ -100,11 +100,17 @@ private: static INT_PTR CALLBACK PasswordEditorProc(HWND hwnd, UINT uMsg, WPARAM wParam, LPARAM lParam);
HANDLE
- m_hPopupClassCall;
+ m_hPopupClassCall,
+ m_hPopupClassNotify;
// accounts
- char *Server, *RegToken, *TokenSecret, *EndpointId, *SelfSkypeName;
+ char
+ *Server,
+ *RegToken,
+ *TokenSecret,
+ *EndpointId,
+ *SelfSkypeName;
static CSkypeProto* GetContactAccount(MCONTACT hContact);
|