diff options
author | George Hazan <george.hazan@gmail.com> | 2015-06-14 21:33:38 +0000 |
---|---|---|
committer | George Hazan <george.hazan@gmail.com> | 2015-06-14 21:33:38 +0000 |
commit | 0f8566dd046d34ea0ff6b747f7383ffb17f6761e (patch) | |
tree | 7754cc5ea95a3599ad18410f3708cf70625baf63 /plugins/IEHistory | |
parent | 5bb6c8a74313a4b62de9cd4c2613d43945c3727b (diff) |
WindowList_* functions are not services anymore; unneeded helpers removed
git-svn-id: http://svn.miranda-ng.org/main/trunk@14168 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'plugins/IEHistory')
-rw-r--r-- | plugins/IEHistory/src/IEHistory.cpp | 4 | ||||
-rw-r--r-- | plugins/IEHistory/src/stdafx.h | 2 |
2 files changed, 3 insertions, 3 deletions
diff --git a/plugins/IEHistory/src/IEHistory.cpp b/plugins/IEHistory/src/IEHistory.cpp index 01da6e43e0..58201979cb 100644 --- a/plugins/IEHistory/src/IEHistory.cpp +++ b/plugins/IEHistory/src/IEHistory.cpp @@ -25,7 +25,7 @@ int hLangpack;//Miranda NG langpack used by translate functions, filled by mir_g char ModuleName[] = "IEHistory"; HICON hIcon; HINSTANCE hInstance; -HANDLE hOpenWindowsList = NULL; +MWindowList hOpenWindowsList = NULL; HMODULE hUxTheme = 0; BOOL(WINAPI *MyEnableThemeDialogTexture)(HANDLE, DWORD) = NULL; @@ -70,7 +70,7 @@ extern "C" int __declspec(dllexport) Load(void) /// all initialization here hIcon = LoadIcon(hInstance, MAKEINTRESOURCE(IDI_HISTORYICON)); - hOpenWindowsList = (HANDLE)CallService(MS_UTILS_ALLOCWINDOWLIST, 0, 0); + hOpenWindowsList = WindowList_Create(); InitServices(); diff --git a/plugins/IEHistory/src/stdafx.h b/plugins/IEHistory/src/stdafx.h index daaa9d2916..ad8cfce450 100644 --- a/plugins/IEHistory/src/stdafx.h +++ b/plugins/IEHistory/src/stdafx.h @@ -79,7 +79,7 @@ extern HICON hIcon; //history icon extern int hLangpack; extern char ModuleName[]; extern HINSTANCE hInstance; //dll instance -extern HANDLE hOpenWindowsList; +extern MWindowList hOpenWindowsList; extern PLUGININFOEX pluginInfo; |