summaryrefslogtreecommitdiff
path: root/plugins/New_GPG/src/icons.cpp
diff options
context:
space:
mode:
authorGeorge Hazan <george.hazan@gmail.com>2014-03-10 07:14:27 +0000
committerGeorge Hazan <george.hazan@gmail.com>2014-03-10 07:14:27 +0000
commita105d0705b4831de7212737072c8cb80f90530ff (patch)
treef08b0729bb9bbe872518316a12062fa9446221ca /plugins/New_GPG/src/icons.cpp
parent3d3a3c6963cad50dbc055af02bce66b77e812d7b (diff)
unneeded helpers removed
git-svn-id: http://svn.miranda-ng.org/main/trunk@8541 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'plugins/New_GPG/src/icons.cpp')
-rw-r--r--plugins/New_GPG/src/icons.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/plugins/New_GPG/src/icons.cpp b/plugins/New_GPG/src/icons.cpp
index 2770d28b64..dffaad03bd 100644
--- a/plugins/New_GPG/src/icons.cpp
+++ b/plugins/New_GPG/src/icons.cpp
@@ -50,9 +50,9 @@ void setClistIcon(MCONTACT hContact)
extern HANDLE g_hCLIcon;
MCONTACT hMC = hContact;
if(db_mc_isSub(hContact))
- hMC = metaGetContact(hContact);
+ hMC = db_mc_getMeta(hContact);
else if(metaIsProtoMetaContacts(hContact))
- hMC = metaGetContact(hContact);
+ hMC = db_mc_getMeta(hContact);
const char *szIconId = (enabled) ? "secured" : NULL;
ExtraIcon_SetIcon(g_hCLIcon, hContact, szIconId);
if(hMC)
@@ -65,9 +65,9 @@ void setSrmmIcon(MCONTACT h)
bool enabled = isContactSecured(hContact);
MCONTACT hMC = NULL;
if(db_mc_isSub(hContact))
- hMC = metaGetContact(hContact);
+ hMC = db_mc_getMeta(hContact);
else if(metaIsProtoMetaContacts(hContact))
- hMC = metaGetContact(hContact);
+ hMC = db_mc_getMeta(hContact);
StatusIconData sid = { sizeof(sid) };
sid.szModule = szGPGModuleName;