diff options
author | George Hazan <george.hazan@gmail.com> | 2013-12-22 16:20:05 +0000 |
---|---|---|
committer | George Hazan <george.hazan@gmail.com> | 2013-12-22 16:20:05 +0000 |
commit | f98e2216f98a31dbb0f77b97249aaaee75b345ed (patch) | |
tree | fa1033da7ca1b02a5238c958cfa6fb5da22ef2c4 /plugins/Clist_nicer | |
parent | 87cbc0b769f26286166201018c9e0e357c5caa66 (diff) |
massive garbage removal from extra icons module
git-svn-id: http://svn.miranda-ng.org/main/trunk@7340 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'plugins/Clist_nicer')
-rw-r--r-- | plugins/Clist_nicer/src/clcitems.cpp | 4 | ||||
-rw-r--r-- | plugins/Clist_nicer/src/clui.cpp | 2 |
2 files changed, 3 insertions, 3 deletions
diff --git a/plugins/Clist_nicer/src/clcitems.cpp b/plugins/Clist_nicer/src/clcitems.cpp index 1e97314b93..4db62ce3a9 100644 --- a/plugins/Clist_nicer/src/clcitems.cpp +++ b/plugins/Clist_nicer/src/clcitems.cpp @@ -135,7 +135,7 @@ int AddContactToGroup(struct ClcData *dat, ClcGroup *group, HANDLE hContact) LoadAvatarForContact(p);
// notify other plugins to re-supply their extra images (icq for xstatus, mBirthday etc...)
- pcli->pfnSetAllExtraIcons(pcli->hwndContactTree, hContact);
+ pcli->pfnSetAllExtraIcons(hContact);
}
RTL_DetectAndSet(p, p->hContact);
@@ -220,7 +220,7 @@ void RebuildEntireList(HWND hwnd, struct ClcData *dat) }
pcli->pfnSortCLC(hwnd, dat, 0);
- pcli->pfnSetAllExtraIcons(pcli->hwndContactTree, 0);
+ pcli->pfnSetAllExtraIcons(NULL);
}
/*
diff --git a/plugins/Clist_nicer/src/clui.cpp b/plugins/Clist_nicer/src/clui.cpp index ae46dd959d..37d156be0d 100644 --- a/plugins/Clist_nicer/src/clui.cpp +++ b/plugins/Clist_nicer/src/clui.cpp @@ -365,7 +365,7 @@ void IcoLibReloadIcons() {
CacheClientIcons();
pcli->pfnReloadExtraIcons();
- pcli->pfnSetAllExtraIcons(pcli->hwndContactTree, 0);
+ pcli->pfnSetAllExtraIcons(NULL);
pcli->pfnClcBroadcast(CLM_AUTOREBUILD, 0, 0);
SendMessage(g_hwndViewModeFrame, WM_USER + 100, 0, 0);
|