diff options
Diffstat (limited to 'yapp/popups2.cpp')
-rw-r--r-- | yapp/popups2.cpp | 6 |
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;
|