From 160cfae541a53216f0952fb450ec4b97be7753dd Mon Sep 17 00:00:00 2001 From: George Hazan Date: Sun, 18 May 2014 12:13:15 +0000 Subject: compilation fix git-svn-id: http://svn.miranda-ng.org/main/trunk@9221 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c --- plugins/Gmailmntf/src/gmail.h | 2 +- plugins/Gmailmntf/src/main.cpp | 2 +- plugins/Gmailmntf/src/notify.cpp | 8 ++++---- 3 files changed, 6 insertions(+), 6 deletions(-) diff --git a/plugins/Gmailmntf/src/gmail.h b/plugins/Gmailmntf/src/gmail.h index 41a8897b32..4f95173141 100644 --- a/plugins/Gmailmntf/src/gmail.h +++ b/plugins/Gmailmntf/src/gmail.h @@ -87,7 +87,7 @@ void NotifyUser(Account *); int OptInit(WPARAM, LPARAM); void Check_ThreadFunc(LPVOID); void Login_ThreadFunc(LPVOID); -int OpenBrower(WPARAM , LPARAM); +int OpenBrowser(WPARAM , LPARAM); int ParsePage(char *, resultLink *); void DeleteResults(resultLink *); void BuildList(void); diff --git a/plugins/Gmailmntf/src/main.cpp b/plugins/Gmailmntf/src/main.cpp index f1d0747f30..88ae72888e 100644 --- a/plugins/Gmailmntf/src/main.cpp +++ b/plugins/Gmailmntf/src/main.cpp @@ -88,7 +88,7 @@ extern "C" __declspec(dllexport) PLUGININFOEX* MirandaPluginInfoEx(DWORD) extern "C" int __declspec(dllexport) Load() { SkinAddNewSoundEx("Gmail", "Other", "Gmail: New Thread(s)"); - HookEvent(ME_CLIST_DOUBLECLICKED, OpenBrower); + HookEvent(ME_CLIST_DOUBLECLICKED, OpenBrowser); PROTOCOLDESCRIPTOR pd = { PROTOCOLDESCRIPTOR_V3_SIZE }; pd.szName = pluginName; diff --git a/plugins/Gmailmntf/src/notify.cpp b/plugins/Gmailmntf/src/notify.cpp index 6c71e5660f..cce1dccc07 100644 --- a/plugins/Gmailmntf/src/notify.cpp +++ b/plugins/Gmailmntf/src/notify.cpp @@ -1,6 +1,6 @@ #include "gmail.h" -int OpenBrower(WPARAM hContact, LPARAM lParam) +int OpenBrowser(WPARAM hContact, LPARAM lParam) { char *proto = GetContactProto(hContact); if (proto && !lstrcmpA(proto, pluginName)) { @@ -23,11 +23,11 @@ int OpenBrower(WPARAM hContact, LPARAM lParam) INT_PTR Notifying(WPARAM wParam, LPARAM lParam) { - OpenBrower(((CLISTEVENT*)lParam)->hContact, 0); + OpenBrowser(((CLISTEVENT*)lParam)->hContact, 0); return 0; } -static INT_PTR CALLBACK PopupDlgProc(HWND hWnd, UINT message, WPARAM wParam, LPARAM lParam) +static LRESULT CALLBACK PopupDlgProc(HWND hWnd, UINT message, WPARAM wParam, LPARAM lParam) { MCONTACT hContact = PUGetContact(hWnd); Account *curAcc = GetAccountByContact(hContact); @@ -39,7 +39,7 @@ static INT_PTR CALLBACK PopupDlgProc(HWND hWnd, UINT message, WPARAM wParam, LPA case WM_COMMAND: if (HIWORD(wParam) == STN_CLICKED) - OpenBrower((WPARAM)hContact, 0); + OpenBrowser((WPARAM)hContact, 0); break; case WM_CONTEXTMENU: -- cgit v1.2.3