summaryrefslogtreecommitdiff
path: root/plugins/GmailNotifier/src
diff options
context:
space:
mode:
authorGeorge Hazan <ghazan@miranda.im>2017-09-11 22:27:34 +0300
committerGeorge Hazan <ghazan@miranda.im>2017-09-11 22:27:34 +0300
commit9834746e6a7e5cf04a32273155265bc3a2f57180 (patch)
tree66366fe9d2f74b09cc70bed366ad7d6c542c94ad /plugins/GmailNotifier/src
parent9a774c4e9e76e660c14a5f725252bbc275b13906 (diff)
old good sound services became finally functions
Diffstat (limited to 'plugins/GmailNotifier/src')
-rw-r--r--plugins/GmailNotifier/src/main.cpp2
-rw-r--r--plugins/GmailNotifier/src/notify.cpp2
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);