summaryrefslogtreecommitdiff
path: root/plugins/RecentContacts
diff options
context:
space:
mode:
authorGeorge Hazan <george.hazan@gmail.com>2012-06-27 13:58:25 +0000
committerGeorge Hazan <george.hazan@gmail.com>2012-06-27 13:58:25 +0000
commit81e8caf42867b65677efe2bffaa52ecff7303c3a (patch)
tree846f06ef51787c58205cd87546976bda29556680 /plugins/RecentContacts
parentd9da7f147fbe91d2e70721de96907ae1d273b591 (diff)
no more pluginLink in load()
git-svn-id: http://svn.miranda-ng.org/main/trunk@652 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'plugins/RecentContacts')
-rw-r--r--plugins/RecentContacts/RecentContacts.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/plugins/RecentContacts/RecentContacts.cpp b/plugins/RecentContacts/RecentContacts.cpp
index 08bd2d5566..ccea08b33b 100644
--- a/plugins/RecentContacts/RecentContacts.cpp
+++ b/plugins/RecentContacts/RecentContacts.cpp
@@ -8,7 +8,6 @@ static const basic_string <char>::size_type npos = -1;
char *szProto;
HINSTANCE hInst = NULL;
-PLUGINLINK *pluginLink = NULL;
int hLangpack = 0;
@@ -634,10 +633,11 @@ INT_PTR ToggleIgnore (WPARAM wParam, LPARAM lParam)
/////////////////////////////////////////////////////////////////////////////////////////
-extern "C" __declspec(dllexport) int Load(PLUGINLINK *link)
+extern "C" __declspec(dllexport) int Load(void)
{
- pluginLink = link;
- mir_getLP( &pluginInfo );
+
+ mir_getLP( &pluginInfo );
+
CoInitialize(NULL);
hWindowList = (HANDLE)CallService(MS_UTILS_ALLOCWINDOWLIST, 0, 0);