From 45358c3507af7d4bb32c031eaa25708905effa91 Mon Sep 17 00:00:00 2001 From: George Hazan Date: Thu, 14 Mar 2013 21:05:30 +0000 Subject: old ansi popups removed, noone used them anyway git-svn-id: http://svn.miranda-ng.org/main/trunk@4034 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c --- plugins/Ping/src/options.cpp | 2 +- plugins/Ping/src/utils.cpp | 10 +++++----- 2 files changed, 6 insertions(+), 6 deletions(-) (limited to 'plugins/Ping/src') diff --git a/plugins/Ping/src/options.cpp b/plugins/Ping/src/options.cpp index 578c2a174f..c4433e7a9d 100644 --- a/plugins/Ping/src/options.cpp +++ b/plugins/Ping/src/options.cpp @@ -44,7 +44,7 @@ static INT_PTR CALLBACK DlgProcOpts(HWND hwndDlg, UINT msg, WPARAM wParam, LPARA EnableWindow(hw, FALSE); } - if(!ServiceExists( MS_POPUP_ADDPOPUP )) { + if( !ServiceExists( MS_POPUP_ADDPOPUP )) { hw = GetDlgItem(hwndDlg, IDC_CHECKPOPUP); EnableWindow(hw, FALSE); hw = GetDlgItem(hwndDlg, IDC_CHECKPOPUP2); diff --git a/plugins/Ping/src/utils.cpp b/plugins/Ping/src/utils.cpp index 425aef76a2..a193888635 100644 --- a/plugins/Ping/src/utils.cpp +++ b/plugins/Ping/src/utils.cpp @@ -18,10 +18,10 @@ LRESULT CALLBACK NullWindowProc( HWND hWnd, UINT message, WPARAM wParam, LPARAM void CALLBACK sttMainThreadCallback( ULONG_PTR dwParam ) { - POPUPDATAEX* ppd = ( POPUPDATAEX* )dwParam; + POPUPDATA* ppd = ( POPUPDATA* )dwParam; - if ( ServiceExists(MS_POPUP_ADDPOPUPEX) ) - PUAddPopUpEx(ppd); + if ( ServiceExists(MS_POPUP_ADDPOPUP)) + PUAddPopUp(ppd); free( ppd ); } @@ -30,8 +30,8 @@ void __stdcall ShowPopup( const char* line1, const char* line2, int flags ) { if(CallService(MS_SYSTEM_TERMINATED, 0, 0)) return; - if ( ServiceExists( MS_POPUP_ADDPOPUP )) { - POPUPDATAEX* ppd = ( POPUPDATAEX* )calloc( sizeof( POPUPDATAEX ), 1 ); + if ( ServiceExists(MS_POPUP_ADDPOPUP)) { + POPUPDATA* ppd = ( POPUPDATA* )calloc( sizeof( POPUPDATA ), 1 ); ppd->lchContact = NULL; ppd->lchIcon = (flags ? hIconResponding : hIconNotResponding); -- cgit v1.2.3