From 5ed738eb52c269eb2ff89ee743fdf345efea16d9 Mon Sep 17 00:00:00 2001 From: George Hazan Date: Thu, 28 Jun 2012 15:05:53 +0000 Subject: compilation fixes git-svn-id: http://svn.miranda-ng.org/main/trunk@669 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c --- plugins/Popup/src/popup_thread.cpp | 4 ++-- plugins/Popup/src/popup_wnd2.cpp | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) (limited to 'plugins/Popup/src') diff --git a/plugins/Popup/src/popup_thread.cpp b/plugins/Popup/src/popup_thread.cpp index 3ee85fa4d3..134e10ba22 100644 --- a/plugins/Popup/src/popup_thread.cpp +++ b/plugins/Popup/src/popup_thread.cpp @@ -315,7 +315,7 @@ static void __cdecl PopupThread(void *arg) } // Increment Miranda thread counter - CallService(MS_SYSTEM_THREAD_PUSH, 0, 0); + Thread_Push(0); // Create manager window DWORD err; @@ -353,7 +353,7 @@ static void __cdecl PopupThread(void *arg) ReleaseMutex(hThreadMutex); // Decrement Miranda thread counter - CallService(MS_SYSTEM_THREAD_POP, 0, 0); + Thread_Pop(); // Ok, now we can kill this thread _endthread(); diff --git a/plugins/Popup/src/popup_wnd2.cpp b/plugins/Popup/src/popup_wnd2.cpp index 963e4e4a95..6b9755f532 100644 --- a/plugins/Popup/src/popup_wnd2.cpp +++ b/plugins/Popup/src/popup_wnd2.cpp @@ -1818,7 +1818,7 @@ LRESULT CALLBACK PopupWnd2::WindowProc(HWND hwnd, UINT message, WPARAM wParam, L void WindowThread(void *arg) { - CallService(MS_SYSTEM_THREAD_PUSH, 0, 0); + Thread_Push(0); OleInitialize(NULL); // we may need OLE in this thread for smiley substitution PopupWnd2 *wnd = (PopupWnd2 *)arg; @@ -1833,7 +1833,7 @@ void WindowThread(void *arg) DispatchMessage(&msg); } - CallService(MS_SYSTEM_THREAD_POP, 0, 0); + Thread_Pop(); _endthread(); } -- cgit v1.2.3