summaryrefslogtreecommitdiff
path: root/plugins/New_GPG/src/clist.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'plugins/New_GPG/src/clist.cpp')
-rwxr-xr-xplugins/New_GPG/src/clist.cpp15
1 files changed, 3 insertions, 12 deletions
diff --git a/plugins/New_GPG/src/clist.cpp b/plugins/New_GPG/src/clist.cpp
index c64fb17798..4533a464c2 100755
--- a/plugins/New_GPG/src/clist.cpp
+++ b/plugins/New_GPG/src/clist.cpp
@@ -16,26 +16,17 @@
#include "commonheaders.h"
-extern HANDLE g_hCLIcon;
void RefreshContactListIcons(void);
+void setClistIcon(HANDLE);
int onExtraImageListRebuilding(WPARAM, LPARAM)
{
- if(g_hCLIcon && ServiceExists(MS_CLIST_EXTRA_ADD_ICON) )
- RefreshContactListIcons();
+ RefreshContactListIcons();
return 0;
}
-
int onExtraImageApplying(WPARAM wParam, LPARAM)
{
- void setClistIcon(HANDLE);
- if(g_hCLIcon && ServiceExists(MS_CLIST_EXTRA_SET_ICON))
- {
-// IconExtraColumn iec = {0}; //need to init this
- if( g_hCLIcon )
- setClistIcon((HANDLE)wParam);
-// ExtraIcon_SetIcon(g_hCLIcon, (HANDLE)wParam, iec.hImage);
- }
+ setClistIcon((HANDLE)wParam);
return 0;
}