From 02ed4455c23e3562d71bfc80a0e2c4fede8708f1 Mon Sep 17 00:00:00 2001 From: George Hazan Date: Sun, 14 Jun 2015 13:17:26 +0000 Subject: - all icolib services removed; - IcoLib_* functions are bound directly to the code git-svn-id: http://svn.miranda-ng.org/main/trunk@14161 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c --- plugins/Watrack/proto/proto.pas | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) (limited to 'plugins/Watrack/proto') diff --git a/plugins/Watrack/proto/proto.pas b/plugins/Watrack/proto/proto.pas index 8da9d20b12..e26ce14f17 100644 --- a/plugins/Watrack/proto/proto.pas +++ b/plugins/Watrack/proto/proto.pas @@ -459,7 +459,7 @@ begin mi.cbSize:=sizeof(mi); mi.flags :=CMIM_ICON; - mi.hIcon:=CallService(MS_SKIN2_GETICON,0,tlparam(IcoBtnContext)); + mi.hIcon:=IcoLib_GetIcon(IcoBtnContext,0); CallService(MS_CLIST_MODIFYMENUITEM,hContactMenuItem,tlparam(@mi)); end; @@ -506,8 +506,7 @@ begin mi.cbSize :=sizeof(mi); mi.szPopupName.a:=PluginShort; mi.flags :=CMIF_NOTOFFLINE or CMIF_NOTOFFLIST; -// mi.popupPosition:=MenuUserInfoPos; - mi.hIcon :=CallService(MS_SKIN2_GETICON,0,lparam(IcoBtnContext)); + mi.hIcon :=IcoLib_GetIcon(IcoBtnContext,0); mi.szName.a :='Get user''s Music Info'; mi.pszService :=MS_WAT_GETCONTACTINFO; hContactMenuItem:=Menu_AddContactMenuItem(@mi); -- cgit v1.2.3