diff options
author | George Hazan <george.hazan@gmail.com> | 2012-11-18 21:52:25 +0000 |
---|---|---|
committer | George Hazan <george.hazan@gmail.com> | 2012-11-18 21:52:25 +0000 |
commit | 917f2ac608117c2e2eb2c8062e75d0a44177cc11 (patch) | |
tree | fbf418d92b10d4ef2835e4bced01bf6e70421441 /protocols/MRA/src/Mra.cpp | |
parent | 2b32a7c25a30f8bb83c9032c299c5ece36460c17 (diff) |
global mra xstatus icons
git-svn-id: http://svn.miranda-ng.org/main/trunk@2366 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'protocols/MRA/src/Mra.cpp')
-rw-r--r-- | protocols/MRA/src/Mra.cpp | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/protocols/MRA/src/Mra.cpp b/protocols/MRA/src/Mra.cpp index 0dbbb3461b..082a2a9332 100644 --- a/protocols/MRA/src/Mra.cpp +++ b/protocols/MRA/src/Mra.cpp @@ -105,6 +105,8 @@ extern "C" MRA_API int Load(void) }
}
+ InitXStatusIcons();
+
HookEvent(ME_SYSTEM_MODULESLOADED, OnModulesLoaded);
HookEvent(ME_SYSTEM_PRESHUTDOWN, OnPreShutdown);
@@ -122,6 +124,7 @@ extern "C" MRA_API int Load(void) extern "C" MRA_API int Unload(void)
{
+ DestroyXStatusIcons();
if (masMraSettings.hDLLXStatusIcons) {
FreeLibrary(masMraSettings.hDLLXStatusIcons);
masMraSettings.hDLLXStatusIcons = NULL;
|