From dea9c030340e50324eba97c72a27c151bed12e1c Mon Sep 17 00:00:00 2001 From: George Hazan Date: Fri, 26 Jan 2018 17:38:31 +0300 Subject: AdvaImg: - freeimage extracted to the separate library; - FI_INTERFACE removed, all references to it are replaced with direct calls of FreeImage_* functions; - unified project for AdvaImg --- protocols/JabberG/src/jabber.cpp | 7 ------- 1 file changed, 7 deletions(-) (limited to 'protocols/JabberG/src/jabber.cpp') diff --git a/protocols/JabberG/src/jabber.cpp b/protocols/JabberG/src/jabber.cpp index 3a5282312c..fe30a49b98 100755 --- a/protocols/JabberG/src/jabber.cpp +++ b/protocols/JabberG/src/jabber.cpp @@ -60,7 +60,6 @@ PLUGININFOEX pluginInfo = { }; CLIST_INTERFACE* pcli; -FI_INTERFACE *FIP = nullptr; HANDLE hExtraActivity = nullptr; HANDLE hExtraMood = nullptr; @@ -186,12 +185,6 @@ extern "C" int __declspec(dllexport) Load() pci = Chat_GetInterface(); pcli = Clist_GetInterface(); - INT_PTR result = CallService(MS_IMG_GETINTERFACE, FI_IF_VERSION, (LPARAM)&FIP); - if (FIP == nullptr || result != S_OK) { - MessageBoxEx(nullptr, TranslateT("Fatal error, image services not found. Jabber Protocol will be disabled."), L"Error", MB_OK | MB_ICONERROR | MB_APPLMODAL, 0); - return 1; - } - char mirVer[100]; Miranda_GetVersionText(mirVer, _countof(mirVer)); mir_wstrcpy(szCoreVersion, _A2T(mirVer)); -- cgit v1.2.3