diff options
author | George Hazan <ghazan@miranda.im> | 2018-05-20 16:19:56 +0300 |
---|---|---|
committer | George Hazan <ghazan@miranda.im> | 2018-05-20 16:19:56 +0300 |
commit | e2530b85347a8e0a3344174c3575284a76f512aa (patch) | |
tree | af7282360d4c57aa26c1d9de260505583076c933 /plugins/Weather | |
parent | 495c51c74e7d1595c882ae31becb7ab5b4093a08 (diff) |
UserInfo_AddPage() helper replaced with CMPLugin::addUserInfo()
Diffstat (limited to 'plugins/Weather')
-rw-r--r-- | plugins/Weather/src/weather_userinfo.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/plugins/Weather/src/weather_userinfo.cpp b/plugins/Weather/src/weather_userinfo.cpp index d18c2ace97..442be8a388 100644 --- a/plugins/Weather/src/weather_userinfo.cpp +++ b/plugins/Weather/src/weather_userinfo.cpp @@ -321,7 +321,7 @@ int UserInfoInit(WPARAM wParam, LPARAM lParam) if (lParam == 0) {
odp.pszTemplate = MAKEINTRESOURCEA(IDD_INFO);
odp.pfnDlgProc = DlgProcINIPage;
- UserInfo_AddPage(wParam, &odp);
+ g_plugin.addUserInfo(wParam, &odp);
}
else {
// check if it is a weather contact
@@ -330,7 +330,7 @@ int UserInfoInit(WPARAM wParam, LPARAM lParam) odp.pszTemplate = MAKEINTRESOURCEA(IDD_USERINFO);
odp.pfnDlgProc = DlgProcUIPage;
odp.flags = ODPF_BOLDGROUPS;
- UserInfo_AddPage(wParam, &odp);
+ g_plugin.addUserInfo(wParam, &odp);
}
}
return 0;
|