From 500dd4848842f6d4207584417448586d060fbd6a Mon Sep 17 00:00:00 2001 From: George Hazan Date: Sun, 31 Jul 2022 18:07:27 +0300 Subject: Contact: group of functions gathered into the personal namespace --- plugins/XSoundNotify/src/dialog.cpp | 2 +- plugins/XSoundNotify/src/options.cpp | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) (limited to 'plugins/XSoundNotify') diff --git a/plugins/XSoundNotify/src/dialog.cpp b/plugins/XSoundNotify/src/dialog.cpp index eb67d8d47a..bf165f08d3 100644 --- a/plugins/XSoundNotify/src/dialog.cpp +++ b/plugins/XSoundNotify/src/dialog.cpp @@ -43,7 +43,7 @@ public: WindowList_Add(hChangeSoundDlgList, m_hwnd, pData->hContact); Utils_RestoreWindowPositionNoSize(m_hwnd, pData->hContact, MODULENAME, "ChangeSoundDlg"); - ptrW uid(Contact_GetInfo(CNF_UNIQUEID, pData->hContact)); + ptrW uid(Contact::GetInfo(CNF_UNIQUEID, pData->hContact)); wchar_t value[100]; mir_snwprintf(value, TranslateT("Custom sound for %s (%s)"), Clist_GetContactDisplayName(pData->hContact), uid.get()); SetWindowText(m_hwnd, value); diff --git a/plugins/XSoundNotify/src/options.cpp b/plugins/XSoundNotify/src/options.cpp index 31237230fb..e3b6406376 100644 --- a/plugins/XSoundNotify/src/options.cpp +++ b/plugins/XSoundNotify/src/options.cpp @@ -118,7 +118,7 @@ public: comboUser.AddString(TranslateT("All contacts"), -1); for (auto &hContact : Contacts(pa->szModuleName)) { - ptrW uid(Contact_GetInfo(CNF_UNIQUEID, hContact)); + ptrW uid(Contact::GetInfo(CNF_UNIQUEID, hContact)); CMStringW value(FORMAT, L"%s (%s)", Clist_GetContactDisplayName(hContact), uid.get()); comboUser.AddString(value, hContact); } -- cgit v1.2.3