diff options
Diffstat (limited to 'protocols/Skype/src')
-rw-r--r-- | protocols/Skype/src/skype.h | 1 | ||||
-rw-r--r-- | protocols/Skype/src/skype_utils.cpp | 7 |
2 files changed, 2 insertions, 6 deletions
diff --git a/protocols/Skype/src/skype.h b/protocols/Skype/src/skype.h index 2816fd984f..48a144eea4 100644 --- a/protocols/Skype/src/skype.h +++ b/protocols/Skype/src/skype.h @@ -49,7 +49,6 @@ #include <io.h>
#include <fcntl.h>
-#include <m_popup2.h>
#include <m_folders.h>
#include "resource.h"
diff --git a/protocols/Skype/src/skype_utils.cpp b/protocols/Skype/src/skype_utils.cpp index d31b8b1ef6..7b66b00386 100644 --- a/protocols/Skype/src/skype_utils.cpp +++ b/protocols/Skype/src/skype_utils.cpp @@ -483,8 +483,7 @@ void CSkypeProto::ShowNotification(const wchar_t *caption, const wchar_t *messag ::MessageBoxW(NULL, message, caption, MB_OK | flags);
else
{
- POPUPDATAT_V2 ppd = {0};
- ppd.cbSize = sizeof(POPUPDATAT_V2);
+ POPUPDATAW ppd = {0};
ppd.lchContact = hContact;
if (!hContact)
{
@@ -492,10 +491,8 @@ void CSkypeProto::ShowNotification(const wchar_t *caption, const wchar_t *messag }
lstrcpyn(ppd.lpwzText, message, MAX_SECONDLINE);
ppd.lchIcon = ::Skin_GetIcon("Skype_main");
- ppd.colorBack = ppd.colorText = 0;
- ppd.iSeconds = 0;
- ::CallService(MS_POPUP_ADDPOPUPT, (WPARAM)&ppd, 0);
+ PUAddPopUpW(&ppd);
}
}
|