From f580be3d9dcccb14831d6bed9e7dfca600f5b6f8 Mon Sep 17 00:00:00 2001 From: George Hazan Date: Wed, 6 Mar 2019 16:15:45 +0300 Subject: popups: - internal implementation details & all service declarations moved to m_popup_int.h; - all service calls removed and replaced with function calls; - direct access to popup serttings replaced with Popup_Enable / Popup_Enabled; --- protocols/SkypeWeb/src/skype_popups.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'protocols/SkypeWeb/src') diff --git a/protocols/SkypeWeb/src/skype_popups.cpp b/protocols/SkypeWeb/src/skype_popups.cpp index ba00d60709..f279a936b5 100644 --- a/protocols/SkypeWeb/src/skype_popups.cpp +++ b/protocols/SkypeWeb/src/skype_popups.cpp @@ -64,11 +64,11 @@ void CSkypeProto::ShowNotification(const wchar_t *caption, const wchar_t *messag } POPUPDATACLASS ppd = { sizeof(ppd) }; - ppd.pwszTitle = caption; - ppd.pwszText = message; + ppd.szTitle.w = caption; + ppd.szText.w = message; ppd.pszClassName = className.GetBuffer(); ppd.hContact = hContact; - CallService(MS_POPUP_ADDPOPUPCLASS, 0, (LPARAM)&ppd); + Popup_AddClass(&ppd); } void CSkypeProto::ShowNotification(const wchar_t *message, MCONTACT hContact) -- cgit v1.2.3