diff options
author | George Hazan <george.hazan@gmail.com> | 2015-07-22 17:53:20 +0000 |
---|---|---|
committer | George Hazan <george.hazan@gmail.com> | 2015-07-22 17:53:20 +0000 |
commit | 59b6fb0fe20c274743fbd1b9742be94b1e5134a4 (patch) | |
tree | 1fe68cf72ab221fbca0f24b36b35f5c1087a9450 /plugins/CountryFlags/src | |
parent | 36818c9c84cce676b9ec6533807b7a33e03902a0 (diff) |
- extra icons services converted into functions;
- more Kill* functions exported;
git-svn-id: http://svn.miranda-ng.org/main/trunk@14635 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'plugins/CountryFlags/src')
-rw-r--r-- | plugins/CountryFlags/src/extraimg.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/plugins/CountryFlags/src/extraimg.cpp b/plugins/CountryFlags/src/extraimg.cpp index 5f887b2745..491d413742 100644 --- a/plugins/CountryFlags/src/extraimg.cpp +++ b/plugins/CountryFlags/src/extraimg.cpp @@ -56,7 +56,7 @@ static void CALLBACK SetExtraImage(MCONTACT hContact) else {
char szId[20];
mir_snprintf(szId, _countof(szId), (countryNumber == 0xFFFF) ? "%s0x%X" : "%s%i", "flags_", countryNumber);
- ExtraIcon_SetIcon(hExtraIcon, hContact, szId);
+ ExtraIcon_SetIconByName(hExtraIcon, hContact, szId);
}
}
@@ -200,7 +200,7 @@ void InitExtraImg(void) HookEvent(ME_DB_CONTACT_SETTINGCHANGED, ExtraImgSettingChanged);
/* Extra Image */
- hExtraIcon = ExtraIcon_Register("flags_extra", LPGEN("Country flag"), "flags_0");
+ hExtraIcon = ExtraIcon_RegisterIcolib("flags_extra", LPGEN("Country flag"), "flags_0");
if (bShowExtraIcon)
EnsureExtraImages();
}
|