summaryrefslogtreecommitdiff
path: root/message_notify/messagenotify.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'message_notify/messagenotify.cpp')
-rw-r--r--message_notify/messagenotify.cpp5
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);