From 123dcff490b3acaf2ce1bab93c08ccdaea43775a Mon Sep 17 00:00:00 2001 From: "(no author)" <(no author)@4f64403b-2f21-0410-a795-97e2b3489a10> Date: Sun, 6 Sep 2009 23:29:03 +0000 Subject: Fixed crash on popup dismiss git-svn-id: https://server.scottellis.com.au/svn/mim_plugs@470 4f64403b-2f21-0410-a795-97e2b3489a10 --- yapp/popups2.cpp | 6 ------ 1 file changed, 6 deletions(-) (limited to 'yapp/popups2.cpp') 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; -- cgit v1.2.3