diff options
author | George Hazan <ghazan@miranda.im> | 2017-09-11 22:27:34 +0300 |
---|---|---|
committer | George Hazan <ghazan@miranda.im> | 2017-09-12 12:43:48 +0300 |
commit | f2656f118f63643151e53694bd223018c29b4a55 (patch) | |
tree | 2733f155bb5fd9313ea08255209da75f738bcedf /plugins/GmailNotifier | |
parent | 69409021aced78b31da0c9f2def7332a4c4b973e (diff) |
old good sound services became finally functions
Diffstat (limited to 'plugins/GmailNotifier')
-rw-r--r-- | plugins/GmailNotifier/src/main.cpp | 2 | ||||
-rw-r--r-- | plugins/GmailNotifier/src/notify.cpp | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/plugins/GmailNotifier/src/main.cpp b/plugins/GmailNotifier/src/main.cpp index dabac93804..d2912d2082 100644 --- a/plugins/GmailNotifier/src/main.cpp +++ b/plugins/GmailNotifier/src/main.cpp @@ -91,7 +91,7 @@ extern "C" int __declspec(dllexport) Load() mir_getLP(&pluginInfoEx);
pcli = Clist_GetInterface();
- SkinAddNewSoundEx("Gmail", LPGEN("Other"), LPGEN("Gmail: New thread(s)"));
+ Skin_AddSound("Gmail", LPGENW("Other"), LPGENW("Gmail: New thread(s)"));
HookEvent(ME_CLIST_DOUBLECLICKED, OpenBrowser);
PROTOCOLDESCRIPTOR pd = { PROTOCOLDESCRIPTOR_V3_SIZE };
diff --git a/plugins/GmailNotifier/src/notify.cpp b/plugins/GmailNotifier/src/notify.cpp index eb99a41ec4..7e90749477 100644 --- a/plugins/GmailNotifier/src/notify.cpp +++ b/plugins/GmailNotifier/src/notify.cpp @@ -120,7 +120,7 @@ void NotifyUser(Account *curAcc) PUAddPopup(&ppd);
}
if (newMails > 0)
- SkinPlaySound("Gmail");
+ Skin_PlaySound("Gmail");
}
curAcc->oldResults_num = curAcc->results_num;
DeleteResults(curAcc->results.next);
|