summaryrefslogtreecommitdiff
path: root/plugins/ExtraIcons
diff options
context:
space:
mode:
Diffstat (limited to 'plugins/ExtraIcons')
-rw-r--r--plugins/ExtraIcons/commons.h1
-rw-r--r--plugins/ExtraIcons/extraicons.cpp6
2 files changed, 3 insertions, 4 deletions
diff --git a/plugins/ExtraIcons/commons.h b/plugins/ExtraIcons/commons.h
index 84b43008dd..ff854f53dc 100644
--- a/plugins/ExtraIcons/commons.h
+++ b/plugins/ExtraIcons/commons.h
@@ -78,7 +78,6 @@ using namespace std;
// Global Variables
extern HINSTANCE hInst;
-extern PLUGINLINK *pluginLink;
#define MAX_REGS(_A_) ( sizeof(_A_) / sizeof(_A_[0]))
#define FREE(_m_) if (_m_ != NULL) { free(_m_); _m_ = NULL; }
diff --git a/plugins/ExtraIcons/extraicons.cpp b/plugins/ExtraIcons/extraicons.cpp
index 9eaf35b3d3..dccfa023dc 100644
--- a/plugins/ExtraIcons/extraicons.cpp
+++ b/plugins/ExtraIcons/extraicons.cpp
@@ -36,7 +36,7 @@ PLUGININFOEX pluginInfo = {
};
HINSTANCE hInst;
-PLUGINLINK *pluginLink;
+
int hLangpack;
vector<HANDLE> hHooks;
@@ -81,9 +81,9 @@ extern "C" __declspec(dllexport) const MUUID* MirandaPluginInterfaces(void)
return interfaces;
}
-extern "C" int __declspec(dllexport) Load(PLUGINLINK *link)
+extern "C" int __declspec(dllexport) Load(void)
{
- pluginLink = link;
+
mir_getLP(&pluginInfo);
DWORD ret = CallService(MS_CLUI_GETCAPS, CLUICAPS_FLAGS2, 0);