diff options
author | Tobias Weimer <wishmaster51@googlemail.com> | 2014-05-22 18:28:59 +0000 |
---|---|---|
committer | Tobias Weimer <wishmaster51@googlemail.com> | 2014-05-22 18:28:59 +0000 |
commit | 8fceb2db2ea58d7d105194b4e03a80ddd566ad6e (patch) | |
tree | e34c5ea97eb81391c836916feb0a0938f79d4681 /plugins/GmailNotifier/src/main.cpp | |
parent | 2091bf8b8faa00b04515677ddde7cf6817196b59 (diff) |
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
Diffstat (limited to 'plugins/GmailNotifier/src/main.cpp')
-rw-r--r-- | plugins/GmailNotifier/src/main.cpp | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/plugins/GmailNotifier/src/main.cpp b/plugins/GmailNotifier/src/main.cpp index 6428e1f151..06760df072 100644 --- a/plugins/GmailNotifier/src/main.cpp +++ b/plugins/GmailNotifier/src/main.cpp @@ -61,12 +61,12 @@ BOOL WINAPI DllMain(HINSTANCE hinstDLL, DWORD fdwReason, LPVOID lpvReserved) return TRUE;
}
-void CALLBACK TimerProc(HWND hwnd, UINT uMsg, UINT_PTR idEvent, DWORD dwTime)
+void CALLBACK TimerProc(HWND, UINT, UINT_PTR, DWORD)
{
PluginMenuCommand(0, 0);
}
-INT_PTR PluginMenuCommand(WPARAM hContact, LPARAM lParam)
+INT_PTR PluginMenuCommand(WPARAM hContact, LPARAM)
{
if (!optionWindowIsOpen)
mir_forkthread(Check_ThreadFunc, GetAccountByContact(hContact));
@@ -74,7 +74,7 @@ INT_PTR PluginMenuCommand(WPARAM hContact, LPARAM lParam) return 0;
}
-static int OnMirandaStart(WPARAM wParam, LPARAM lParam)
+static int OnMirandaStart(WPARAM, LPARAM)
{
PluginMenuCommand(0, 0);
return 0;
@@ -87,7 +87,7 @@ extern "C" __declspec(dllexport) PLUGININFOEX* MirandaPluginInfoEx(DWORD) extern "C" int __declspec(dllexport) Load()
{
- SkinAddNewSoundEx("Gmail", "Other", "Gmail: New Thread(s)");
+ SkinAddNewSoundEx("Gmail", LPGEN("Other"), LPGEN("Gmail: New Thread(s)"));
HookEvent(ME_CLIST_DOUBLECLICKED, OpenBrowser);
PROTOCOLDESCRIPTOR pd = { PROTOCOLDESCRIPTOR_V3_SIZE };
|