summaryrefslogtreecommitdiff
path: root/plugins/Folders/src/dlg_handlers.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'plugins/Folders/src/dlg_handlers.cpp')
-rw-r--r--plugins/Folders/src/dlg_handlers.cpp7
1 files changed, 1 insertions, 6 deletions
diff --git a/plugins/Folders/src/dlg_handlers.cpp b/plugins/Folders/src/dlg_handlers.cpp
index a29911c2b5..1bc3745c7f 100644
--- a/plugins/Folders/src/dlg_handlers.cpp
+++ b/plugins/Folders/src/dlg_handlers.cpp
@@ -243,7 +243,7 @@ static INT_PTR CALLBACK DlgProcOpts(HWND hWnd, UINT msg, WPARAM wParam, LPARAM l
return 0;
}
-static int OnOptionsInitialize(WPARAM wParam, LPARAM)
+int OnOptionsInitialize(WPARAM wParam, LPARAM)
{
OPTIONSDIALOGPAGE odp = {};
odp.position = 100000000;
@@ -255,8 +255,3 @@ static int OnOptionsInitialize(WPARAM wParam, LPARAM)
g_plugin.addOptions(wParam, &odp);
return 0;
}
-
-void InitOptions()
-{
- HookEvent(ME_OPT_INITIALISE, OnOptionsInitialize);
-}