summaryrefslogtreecommitdiff
path: root/plugins/W7UI
diff options
context:
space:
mode:
Diffstat (limited to 'plugins/W7UI')
-rw-r--r--plugins/W7UI/jumplistbuilder.h2
-rw-r--r--plugins/W7UI/main.cpp10
2 files changed, 5 insertions, 7 deletions
diff --git a/plugins/W7UI/jumplistbuilder.h b/plugins/W7UI/jumplistbuilder.h
index f0e1cbd438..6a0bde2fd4 100644
--- a/plugins/W7UI/jumplistbuilder.h
+++ b/plugins/W7UI/jumplistbuilder.h
@@ -4,7 +4,7 @@
class CJumpListBuilder
{
public:
- static void Load()
+ static void Load(void)
{
m_instance = new CJumpListBuilder;
}
diff --git a/plugins/W7UI/main.cpp b/plugins/W7UI/main.cpp
index b26124db71..7f48f93070 100644
--- a/plugins/W7UI/main.cpp
+++ b/plugins/W7UI/main.cpp
@@ -26,10 +26,8 @@ Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
int LoadW7UI();
int UnloadW7UI();
-PLUGINLINK* pluginLink;
-HINSTANCE g_hInst;
-
-int hLangpack;
+HINSTANCE g_hInst;
+int hLangpack;
// {3625ACB8-794C-4727-88EA-76DBBAC6D200}
#define MIID_W7UI { 0x3625acb8, 0x794c, 0x4727, { 0x88, 0xea, 0x76, 0xdb, 0xba, 0xc6, 0xd2, 0x0 } }
@@ -67,11 +65,11 @@ extern "C" __declspec(dllexport) const MUUID *MirandaPluginInterfaces(void)
return interfaces;
}
-extern "C" __declspec(dllexport) int Load(PLUGINLINK * link)
+extern "C" __declspec(dllexport) int Load(void)
{
if (!IsWinVer7Plus()) return 1;
- pluginLink = link;
+
mir_getLP(&pluginInfo);
LoadW7UI();