From 8fceb2db2ea58d7d105194b4e03a80ddd566ad6e Mon Sep 17 00:00:00 2001 From: Tobias Weimer Date: Thu, 22 May 2014 18:28:59 +0000 Subject: GMailNotifier: -Fixed hangup in options (fixes #675) -Fixed Apply button -ressource fixes git-svn-id: http://svn.miranda-ng.org/main/trunk@9280 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c --- plugins/GmailNotifier/src/notify.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'plugins/GmailNotifier/src/notify.cpp') diff --git a/plugins/GmailNotifier/src/notify.cpp b/plugins/GmailNotifier/src/notify.cpp index cce1dccc07..a684e5ff0c 100644 --- a/plugins/GmailNotifier/src/notify.cpp +++ b/plugins/GmailNotifier/src/notify.cpp @@ -21,7 +21,7 @@ int OpenBrowser(WPARAM hContact, LPARAM lParam) return FALSE; } -INT_PTR Notifying(WPARAM wParam, LPARAM lParam) +INT_PTR Notifying(WPARAM, LPARAM lParam) { OpenBrowser(((CLISTEVENT*)lParam)->hContact, 0); return 0; @@ -116,7 +116,7 @@ void NotifyUser(Account *curAcc) ppd.PluginData = NULL; ppd.iSeconds = opt.popupDuration; PUDeletePopup(curAcc->popUpHwnd); - CallService(MS_POPUP_ADDPOPUP, (WPARAM)&ppd, 0); + PUAddPopup(&ppd); } if (newMails > 0) SkinPlaySound("Gmail"); @@ -135,7 +135,7 @@ void DeleteResults(resultLink *prst) } } -void __cdecl Login_ThreadFunc(LPVOID lpParam) +void __cdecl Login_ThreadFunc(void *lpParam) { if (lpParam == NULL) return; -- cgit v1.2.3