summaryrefslogtreecommitdiff
path: root/protocols/Gadu-Gadu
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 /protocols/Gadu-Gadu
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 'protocols/Gadu-Gadu')
-rw-r--r--protocols/Gadu-Gadu/gg.c6
-rw-r--r--protocols/Gadu-Gadu/gg.h1
2 files changed, 3 insertions, 4 deletions
diff --git a/protocols/Gadu-Gadu/gg.c b/protocols/Gadu-Gadu/gg.c
index 778f62eeb1..07e1e0b05b 100644
--- a/protocols/Gadu-Gadu/gg.c
+++ b/protocols/Gadu-Gadu/gg.c
@@ -42,7 +42,7 @@ static const MUUID interfaces[] = {MIID_PROTOCOL, MIID_LAST};
// Other variables
HINSTANCE hInstance;
-PLUGINLINK *pluginLink;
+
XML_API xi;
SSL_API si;
CLIST_INTERFACE *pcli;
@@ -562,12 +562,12 @@ static int gg_proto_uninit(PROTO_INTERFACE *proto)
//////////////////////////////////////////////////////////
// When plugin is loaded
-int __declspec(dllexport) Load(PLUGINLINK * link)
+int __declspec(dllexport) Load(void)
{
WSADATA wsaData;
PROTOCOLDESCRIPTOR pd;
- pluginLink = link;
+
mir_getXI(&xi);
mir_getLP(&pluginInfo);
diff --git a/protocols/Gadu-Gadu/gg.h b/protocols/Gadu-Gadu/gg.h
index 79abb3190e..7f247c553f 100644
--- a/protocols/Gadu-Gadu/gg.h
+++ b/protocols/Gadu-Gadu/gg.h
@@ -354,7 +354,6 @@ typedef void (__cdecl GGThreadFunc)(void*, void*);
/////////////////////////////////////////////////
extern HINSTANCE hInstance;
-extern PLUGINLINK *pluginLink;
extern CLIST_INTERFACE *pcli;
extern list_t g_Instances;