summaryrefslogtreecommitdiff
path: root/plugins/NewEventNotify/main.c
diff options
context:
space:
mode:
Diffstat (limited to 'plugins/NewEventNotify/main.c')
-rw-r--r--plugins/NewEventNotify/main.c6
1 files changed, 1 insertions, 5 deletions
diff --git a/plugins/NewEventNotify/main.c b/plugins/NewEventNotify/main.c
index c6240c0402..e355f7adce 100644
--- a/plugins/NewEventNotify/main.c
+++ b/plugins/NewEventNotify/main.c
@@ -48,7 +48,6 @@ extern PLUGIN_DATA* PopUpList[20];
//---------------------------
//---Some global variables for the plugin
-struct MM_INTERFACE mmi;
HINSTANCE hInst;
PLUGIN_OPTIONS pluginOptions;
@@ -221,10 +220,7 @@ int __declspec(dllexport) Load(PLUGINLINK *link)
{
pluginLink = link;
hHookedInit = HookEvent(ME_SYSTEM_MODULESLOADED, HookedInit);
- hHookedOpt = HookEvent(ME_OPT_INITIALISE, HookedOptions);
-
- mir_getMMI(&mmi);
- mir_getLP(&pluginInfo);
+ hHookedOpt = HookEvent(ME_OPT_INITIALISE, HookedOptions); mir_getLP(&pluginInfo);
InitI18N();