summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGeorge Hazan <george.hazan@gmail.com>2014-05-18 12:13:15 +0000
committerGeorge Hazan <george.hazan@gmail.com>2014-05-18 12:13:15 +0000
commit160cfae541a53216f0952fb450ec4b97be7753dd (patch)
tree85ab62ff5683e134fb985f32f26d2ca89eb9ba21
parent6dde545d1490b6b1262bd0d40f9208828781c9b8 (diff)
compilation fix
git-svn-id: http://svn.miranda-ng.org/main/trunk@9221 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
-rw-r--r--plugins/Gmailmntf/src/gmail.h2
-rw-r--r--plugins/Gmailmntf/src/main.cpp2
-rw-r--r--plugins/Gmailmntf/src/notify.cpp8
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: