summaryrefslogtreecommitdiff
path: root/protocols
diff options
context:
space:
mode:
authorKirill Volinsky <mataes2007@gmail.com>2013-03-15 12:13:33 +0000
committerKirill Volinsky <mataes2007@gmail.com>2013-03-15 12:13:33 +0000
commit98d78ffb4e32ef8fca75927f01a6b692726eb75e (patch)
tree2f9952fed4c963b88321f535ede6175072a975e6 /protocols
parentb016a07f791e40f8d4228c739168ad6394fd8988 (diff)
unused m_popup2.h include
git-svn-id: http://svn.miranda-ng.org/main/trunk@4050 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'protocols')
-rw-r--r--protocols/Skype/src/skype.h1
-rw-r--r--protocols/Skype/src/skype_utils.cpp7
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);
}
}