summaryrefslogtreecommitdiff
path: root/protocols/SkypeWeb/src/skype_trouter.cpp
diff options
context:
space:
mode:
authorMikalaiR <nikolay.romanovich@narod.ru>2015-08-14 11:21:27 +0000
committerMikalaiR <nikolay.romanovich@narod.ru>2015-08-14 11:21:27 +0000
commit57d7aea9d038519bfa7cf38e757105d730220e37 (patch)
tree11fede11a82b96b47201118e8d7145c226cbbc89 /protocols/SkypeWeb/src/skype_trouter.cpp
parentebc91d7be8f31d98822b896852e40c341b614a48 (diff)
SkypeWeb: small fixes.
git-svn-id: http://svn.miranda-ng.org/main/trunk@14952 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'protocols/SkypeWeb/src/skype_trouter.cpp')
-rw-r--r--protocols/SkypeWeb/src/skype_trouter.cpp6
1 files changed, 2 insertions, 4 deletions
diff --git a/protocols/SkypeWeb/src/skype_trouter.cpp b/protocols/SkypeWeb/src/skype_trouter.cpp
index 0685bb287e..55f96576f7 100644
--- a/protocols/SkypeWeb/src/skype_trouter.cpp
+++ b/protocols/SkypeWeb/src/skype_trouter.cpp
@@ -17,8 +17,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
#include "stdafx.h"
-HANDLE CSkypeProto::m_hCallEvent;
-
void CSkypeProto::OnCreateTrouter(const NETLIBHTTPREQUEST *response)
{
if (response == NULL || response->pData == NULL)
@@ -227,7 +225,7 @@ void CSkypeProto::OnTrouterEvent(const JSONNode &body, const JSONNode &)
INT_PTR CSkypeProto::OnIncomingCallCLE(WPARAM, LPARAM lParam)
{
CLISTEVENT *cle = (CLISTEVENT*)lParam;
- NotifyEventHooks(m_hCallEvent, (WPARAM)cle->hContact, (LPARAM)0);
+ NotifyEventHooks(g_hCallEvent, (WPARAM)cle->hContact, (LPARAM)0);
return 0;
}
@@ -244,7 +242,7 @@ INT_PTR CSkypeProto::OnIncomingCallPP(WPARAM wParam, LPARAM hContact)
}
if (wParam == 1)
- NotifyEventHooks(m_hCallEvent, (WPARAM)hContact, (LPARAM)0);
+ NotifyEventHooks(g_hCallEvent, (WPARAM)hContact, (LPARAM)0);
return 0;
} \ No newline at end of file