From f98e2216f98a31dbb0f77b97249aaaee75b345ed Mon Sep 17 00:00:00 2001
From: George Hazan <george.hazan@gmail.com>
Date: Sun, 22 Dec 2013 16:20:05 +0000
Subject: massive garbage removal from extra icons module

git-svn-id: http://svn.miranda-ng.org/main/trunk@7340 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
---
 src/modules/clist/clcitems.cpp | 2 +-
 src/modules/clist/clui.cpp     | 4 ++--
 2 files changed, 3 insertions(+), 3 deletions(-)

(limited to 'src/modules/clist')

diff --git a/src/modules/clist/clcitems.cpp b/src/modules/clist/clcitems.cpp
index 139c7e6e70..02818eb71b 100644
--- a/src/modules/clist/clcitems.cpp
+++ b/src/modules/clist/clcitems.cpp
@@ -422,7 +422,7 @@ void fnRebuildEntireList(HWND hwnd, struct ClcData *dat)
 	}
 
 	cli.pfnSortCLC(hwnd, dat, 0);
-	cli.pfnSetAllExtraIcons(cli.hwndContactTree, 0);
+	cli.pfnSetAllExtraIcons(0);
 }
 
 int fnGetGroupContentsCount(ClcGroup *group, int visibleOnly)
diff --git a/src/modules/clist/clui.cpp b/src/modules/clist/clui.cpp
index 2f98c3c7d1..0e0ef05e14 100644
--- a/src/modules/clist/clui.cpp
+++ b/src/modules/clist/clui.cpp
@@ -814,11 +814,11 @@ LRESULT CALLBACK fnContactListWndProc(HWND hwnd, UINT msg, WPARAM wParam, LPARAM
 
 			case CLN_NEWCONTACT:
 				if (nmc != NULL)
-					cli.pfnSetAllExtraIcons(cli.hwndContactTree, nmc->hItem);
+					cli.pfnSetAllExtraIcons(nmc->hItem);
 				return TRUE;
 
 			case CLN_LISTREBUILT:
-				cli.pfnSetAllExtraIcons(cli.hwndContactTree, 0);
+				cli.pfnSetAllExtraIcons(NULL);
 				return(FALSE);
 
 			case NM_KEYDOWN:
-- 
cgit v1.2.3