From e6c6d61d66fff027f8de9e67a59151442282b94d Mon Sep 17 00:00:00 2001 From: "(no author)" <(no author)@4f64403b-2f21-0410-a795-97e2b3489a10> Date: Sat, 18 Dec 2010 23:28:28 +0000 Subject: Updated to the latest miranda git-svn-id: https://server.scottellis.com.au/svn/mim_plugs@587 4f64403b-2f21-0410-a795-97e2b3489a10 --- message_notify/messagenotify.cpp | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) (limited to 'message_notify/messagenotify.cpp') 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); -- cgit v1.2.3