summaryrefslogtreecommitdiff
path: root/yapp/popups2.cpp
diff options
context:
space:
mode:
author(no author) <(no author)@4f64403b-2f21-0410-a795-97e2b3489a10>2009-09-06 23:29:03 +0000
committer(no author) <(no author)@4f64403b-2f21-0410-a795-97e2b3489a10>2009-09-06 23:29:03 +0000
commit123dcff490b3acaf2ce1bab93c08ccdaea43775a (patch)
treec90bcf7bb37b88088d284acf27c0662648bab737 /yapp/popups2.cpp
parentffd5a2a14c665a6f42378ab961108dd4d80468ef (diff)
Fixed crash on popup dismiss
git-svn-id: https://server.scottellis.com.au/svn/mim_plugs@470 4f64403b-2f21-0410-a795-97e2b3489a10
Diffstat (limited to 'yapp/popups2.cpp')
-rw-r--r--yapp/popups2.cpp6
1 files changed, 0 insertions, 6 deletions
diff --git a/yapp/popups2.cpp b/yapp/popups2.cpp
index 134e648..a800af7 100644
--- a/yapp/popups2.cpp
+++ b/yapp/popups2.cpp
@@ -30,9 +30,6 @@ HFONT hFontFirstLine = 0, hFontSecondLine = 0, hFontTime = 0;
COLORREF colFirstLine = RGB(255, 0, 0), colSecondLine = 0, colTime = RGB(0, 0, 255), colBorder = RGB(0, 0, 0),
colSidebar = RGB(128, 128, 128), colTitleUnderline = GetSysColor(COLOR_3DSHADOW);
-// hooked here so it's in the main thread
-HANDLE hAvChangeEvent = 0;
-
PLUGININFOEX pluginInfo={
sizeof(PLUGININFOEX),
__PLUGIN_NAME,
@@ -309,8 +306,6 @@ int ModulesLoaded(WPARAM wParam, LPARAM lParam) {
hFontTime = CreateFontIndirect(&lf);
}
- hAvChangeEvent = HookEvent(ME_AV_AVATARCHANGED, AvatarChanged);
-
LoadModuleDependentOptions();
if(GetModuleHandle(_T("neweventnotify")))
@@ -322,7 +317,6 @@ int ModulesLoaded(WPARAM wParam, LPARAM lParam) {
}
int PreShutdown(WPARAM wParam, LPARAM lParam) {
- if(hAvChangeEvent) UnhookEvent(hAvChangeEvent);
DeinitMessagePump();
DeinitNotify();
return 0;