diff options
author | George Hazan <george.hazan@gmail.com> | 2012-07-04 12:37:38 +0000 |
---|---|---|
committer | George Hazan <george.hazan@gmail.com> | 2012-07-04 12:37:38 +0000 |
commit | 88ec2ae53ddc811d08763b2fb3a0073b571a321c (patch) | |
tree | 8a2048209c9494d55ca8d565d1942833e8bff230 /plugins/Db3x_mmap/dbsettings.cpp | |
parent | fd97f5275ed5f18651c4cb7d7de397fbd5edf226 (diff) |
these fixes aren't needed anymore
git-svn-id: http://svn.miranda-ng.org/main/trunk@755 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'plugins/Db3x_mmap/dbsettings.cpp')
-rw-r--r-- | plugins/Db3x_mmap/dbsettings.cpp | 8 |
1 files changed, 0 insertions, 8 deletions
diff --git a/plugins/Db3x_mmap/dbsettings.cpp b/plugins/Db3x_mmap/dbsettings.cpp index c569357567..5bdc0707f6 100644 --- a/plugins/Db3x_mmap/dbsettings.cpp +++ b/plugins/Db3x_mmap/dbsettings.cpp @@ -975,13 +975,6 @@ static int stringCompare2( char* p1, char* p2 ) return strcmp( p1, p2);
}
-static int OnPreShutdown(WPARAM, LPARAM)
-{
- DestroyHookableEvent(hSettingChangeEvent);
- hSettingChangeEvent = 0;
- return 0;
-}
-
int InitSettings(void)
{
CreateServiceFunction(MS_DB_CONTACT_GETSETTING,GetContactSetting);
@@ -995,7 +988,6 @@ int InitSettings(void) CreateServiceFunction("DB/ResidentSettings/Enum",EnumResidentSettings);
hSettingChangeEvent = CreateHookableEvent(ME_DB_CONTACT_SETTINGCHANGED);
- HookEvent(ME_SYSTEM_PRESHUTDOWN, OnPreShutdown);
hCacheHeap = HeapCreate(0, 0, 0);
lSettings.sortFunc = (FSortFunc)stringCompare;
|