summaryrefslogtreecommitdiff
path: root/plugins/Popup/src
diff options
context:
space:
mode:
authorGeorge Hazan <george.hazan@gmail.com>2012-06-28 15:05:53 +0000
committerGeorge Hazan <george.hazan@gmail.com>2012-06-28 15:05:53 +0000
commit5ed738eb52c269eb2ff89ee743fdf345efea16d9 (patch)
treede0afdf65d539d351f02a56d09abda0c39f56581 /plugins/Popup/src
parenta1b54aadf426b4ce2ce3c900a889f53f1eec6bce (diff)
compilation fixes
git-svn-id: http://svn.miranda-ng.org/main/trunk@669 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'plugins/Popup/src')
-rw-r--r--plugins/Popup/src/popup_thread.cpp4
-rw-r--r--plugins/Popup/src/popup_wnd2.cpp4
2 files changed, 4 insertions, 4 deletions
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();
}