summaryrefslogtreecommitdiff
path: root/protocols/Gadu-Gadu/src
diff options
context:
space:
mode:
authorGeorge Hazan <ghazan@miranda.im>2018-05-20 23:36:07 +0300
committerGeorge Hazan <ghazan@miranda.im>2018-05-20 23:36:07 +0300
commit41ee395da7530c17656bd06f84638ab8d9d3776d (patch)
tree4f28423e3acb809b9be60f467d7fbca262a612d5 /protocols/Gadu-Gadu/src
parente79355b2127afe4cdfe4676e76a165fefe6e6c2a (diff)
options API unbound from hLangpack and switched to CMPlugin
Diffstat (limited to 'protocols/Gadu-Gadu/src')
-rw-r--r--protocols/Gadu-Gadu/src/dialogs.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/protocols/Gadu-Gadu/src/dialogs.cpp b/protocols/Gadu-Gadu/src/dialogs.cpp
index 20e71b2b37..22fe1dea3b 100644
--- a/protocols/Gadu-Gadu/src/dialogs.cpp
+++ b/protocols/Gadu-Gadu/src/dialogs.cpp
@@ -768,18 +768,18 @@ int GaduProto::options_init(WPARAM wParam, LPARAM)
odp.szTab.w = LPGENW("General");
odp.pszTemplate = MAKEINTRESOURCEA(IDD_OPT_GG_GENERAL);
odp.pfnDlgProc = gg_genoptsdlgproc;
- Options_AddPage(wParam, &odp);
+ g_plugin.addOptions(wParam, &odp);
odp.szTab.w = LPGENW("Conference");
odp.pszTemplate = MAKEINTRESOURCEA(IDD_OPT_GG_CONFERENCE);
odp.pfnDlgProc = gg_confoptsdlgproc;
- Options_AddPage(wParam, &odp);
+ g_plugin.addOptions(wParam, &odp);
odp.szTab.w = LPGENW("Advanced");
odp.position = 2;
odp.pszTemplate = nullptr;
odp.pDialog = new GaduOptionsDlgAdvanced(this);
- Options_AddPage(wParam, &odp);
+ g_plugin.addOptions(wParam, &odp);
return 0;
}