summaryrefslogtreecommitdiff
path: root/src/mir_app
diff options
context:
space:
mode:
Diffstat (limited to 'src/mir_app')
-rw-r--r--src/mir_app/src/newplugins.cpp4
-rw-r--r--src/mir_app/src/pluginopts.cpp2
2 files changed, 3 insertions, 3 deletions
diff --git a/src/mir_app/src/newplugins.cpp b/src/mir_app/src/newplugins.cpp
index 65bc621e7b..3af7efc073 100644
--- a/src/mir_app/src/newplugins.cpp
+++ b/src/mir_app/src/newplugins.cpp
@@ -289,7 +289,7 @@ bool Plugin_UnloadDyn(pluginEntry *p)
freePluginInstance(ppb->getInst());
- NotifyFastHook(hevUnloadModule, (WPARAM)&ppb->getInfo(), (LPARAM)ppb->getInst());
+ NotifyFastHook(hevUnloadModule, (WPARAM)&ppb, (LPARAM)ppb->getInst());
}
// mark default plugins to be loaded
@@ -517,7 +517,7 @@ LBL_Error:
if (CallPluginEventHook(ppb->getInst(), hModulesLoadedEvent, 0, 0) != 0)
goto LBL_Error;
- NotifyEventHooks(hevLoadModule, (WPARAM)&ppb->getInfo(), (LPARAM)ppb->getInst());
+ NotifyEventHooks(hevLoadModule, (WPARAM)ppb, (LPARAM)ppb->getInst());
}
mr.pImpl = ppe;
return true;
diff --git a/src/mir_app/src/pluginopts.cpp b/src/mir_app/src/pluginopts.cpp
index edafbd5a28..3c75861424 100644
--- a/src/mir_app/src/pluginopts.cpp
+++ b/src/mir_app/src/pluginopts.cpp
@@ -239,7 +239,7 @@ static bool LoadPluginDynamically(PluginListItemData *dat)
dat->bWasLoaded = true;
dat->hInst = ppb->getInst();
- NotifyFastHook(hevLoadModule, (WPARAM)&ppb->getInfo(), (LPARAM)ppb->getInst());
+ NotifyFastHook(hevLoadModule, (WPARAM)ppb, (LPARAM)ppb->getInst());
return true;
}