diff options
author | (no author) <(no author)@4f64403b-2f21-0410-a795-97e2b3489a10> | 2010-12-18 23:28:28 +0000 |
---|---|---|
committer | (no author) <(no author)@4f64403b-2f21-0410-a795-97e2b3489a10> | 2010-12-18 23:28:28 +0000 |
commit | e6c6d61d66fff027f8de9e67a59151442282b94d (patch) | |
tree | 6e147946ff651e056782e0299cee77c3a95aa5df /message_notify/messagenotify.cpp | |
parent | a7b5fdcfad3b5de40d7ab582dda826924f473840 (diff) |
Updated to the latest miranda
git-svn-id: https://server.scottellis.com.au/svn/mim_plugs@587 4f64403b-2f21-0410-a795-97e2b3489a10
Diffstat (limited to 'message_notify/messagenotify.cpp')
-rw-r--r-- | message_notify/messagenotify.cpp | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/message_notify/messagenotify.cpp b/message_notify/messagenotify.cpp index 4d9e319..ff9d23d 100644 --- a/message_notify/messagenotify.cpp +++ b/message_notify/messagenotify.cpp @@ -19,8 +19,6 @@ PLUGINLINK *pluginLink; MM_INTERFACE mmi;
UTF8_INTERFACE utfi;
-HANDLE mainThread;
-
bool metacontacts_installed;
bool unicode_system;
bool thread_api = false;
@@ -103,7 +101,7 @@ bool window_focussed(HWND hwnd, HANDLE hContact) { return false;
}
-void __stdcall FocusTimerProc(struct HWND__ *,unsigned int,unsigned int,unsigned long) {
+void __stdcall FocusTimerProc(HWND, UINT, UINT_PTR, DWORD) {
if(options.notify_when != NOTIFY_NFORE) return;
/*
@@ -426,7 +424,6 @@ int OnPreShutdown(WPARAM wParam, LPARAM lParam) { extern "C" int __declspec(dllexport) Load(PLUGINLINK *link)
{
pluginLink = link;
- DuplicateHandle( GetCurrentProcess(), GetCurrentThread(), GetCurrentProcess(), &mainThread, THREAD_SET_CONTEXT, FALSE, 0 );
mir_getMMI(&mmi);
mir_getUTFI(&utfi);
|