summaryrefslogtreecommitdiff
path: root/plugins/NewEventNotify/src/popup.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'plugins/NewEventNotify/src/popup.cpp')
-rw-r--r--plugins/NewEventNotify/src/popup.cpp10
1 files changed, 4 insertions, 6 deletions
diff --git a/plugins/NewEventNotify/src/popup.cpp b/plugins/NewEventNotify/src/popup.cpp
index 92540ab0b0..c556b04c41 100644
--- a/plugins/NewEventNotify/src/popup.cpp
+++ b/plugins/NewEventNotify/src/popup.cpp
@@ -406,12 +406,10 @@ int PopupShow(MCONTACT hContact, MEVENT hEvent, UINT eventType)
PopupList[NumberPopupData(NULL, -1)] = pdata;
// send data to popup plugin
- if (ServiceExists(MS_POPUP_ADDPOPUPW)) {
- // popup creation failed, release popupdata
- if (PUAddPopupW(&pudw) < 0) {
- FreePopupEventData(pdata);
- mir_free(pdata);
- }
+ // popup creation failed, release popupdata
+ if (PUAddPopupW(&pudw) < 0) {
+ FreePopupEventData(pdata);
+ mir_free(pdata);
}
if (dbe.pBlob)