From 7deea6cec5d2173f66d4c2dd75ca0b633b887bc7 Mon Sep 17 00:00:00 2001
From: George Hazan <ghazan@miranda.im>
Date: Sun, 20 May 2018 00:17:30 +0300
Subject: sounds packed into CMPlugin (reduces usage of hLangpack)

---
 protocols/FacebookRM/src/proto.cpp | 12 ++++++------
 1 file changed, 6 insertions(+), 6 deletions(-)

(limited to 'protocols/FacebookRM')

diff --git a/protocols/FacebookRM/src/proto.cpp b/protocols/FacebookRM/src/proto.cpp
index e1c7f3764a..64127caef8 100644
--- a/protocols/FacebookRM/src/proto.cpp
+++ b/protocols/FacebookRM/src/proto.cpp
@@ -1035,12 +1035,12 @@ void FacebookProto::InitHotkeys()
  */
 void FacebookProto::InitSounds()
 {
-	Skin_AddSound("Notification", m_tszUserName, LPGENW("Notification"));
-	Skin_AddSound("NewsFeed", m_tszUserName, LPGENW("Newsfeed event"));
-	Skin_AddSound("OtherEvent", m_tszUserName, LPGENW("Other event"));
-	Skin_AddSound("Friendship", m_tszUserName, LPGENW("Friendship event"));
-	Skin_AddSound("Ticker", m_tszUserName, LPGENW("Ticker event"));
-	Skin_AddSound("Memories", m_tszUserName, LPGENW("Memories"));
+	g_plugin.addSound("Notification", m_tszUserName, LPGENW("Notification"));
+	g_plugin.addSound("NewsFeed", m_tszUserName, LPGENW("Newsfeed event"));
+	g_plugin.addSound("OtherEvent", m_tszUserName, LPGENW("Other event"));
+	g_plugin.addSound("Friendship", m_tszUserName, LPGENW("Friendship event"));
+	g_plugin.addSound("Ticker", m_tszUserName, LPGENW("Ticker event"));
+	g_plugin.addSound("Memories", m_tszUserName, LPGENW("Memories"));
 }
 
 /**
-- 
cgit v1.2.3