diff options
author | George Hazan <george.hazan@gmail.com> | 2016-09-06 18:26:47 +0000 |
---|---|---|
committer | George Hazan <george.hazan@gmail.com> | 2016-09-06 18:26:47 +0000 |
commit | a27b07c35565ced7f690890dcba29518ae2e4928 (patch) | |
tree | d599c43d8448816a5fcc5f09838dd817b59f3b3f /protocols/FacebookRM | |
parent | a609a99eebd89fca7955c8957fc0f2e99c8ededb (diff) |
MS_CLIST_SYSTRAY_NOTIFY - more useless code removed
git-svn-id: http://svn.miranda-ng.org/main/trunk@17268 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'protocols/FacebookRM')
-rw-r--r-- | protocols/FacebookRM/src/events.cpp | 15 |
1 files changed, 2 insertions, 13 deletions
diff --git a/protocols/FacebookRM/src/events.cpp b/protocols/FacebookRM/src/events.cpp index 069baa3806..9bbd836067 100644 --- a/protocols/FacebookRM/src/events.cpp +++ b/protocols/FacebookRM/src/events.cpp @@ -97,19 +97,8 @@ HWND FacebookProto::NotifyEvent(wchar_t* title, wchar_t* info, MCONTACT contact, } } else { - if (ServiceExists(MS_CLIST_SYSTRAY_NOTIFY)) - { - MIRANDASYSTRAYNOTIFY err; - err.szProto = m_szModuleName; - err.cbSize = sizeof(err); - err.dwInfoFlags = NIIF_INTERN_UNICODE | (type == EVENT_CLIENT ? NIIF_WARNING : NIIF_INFO); - err.tszInfoTitle = title; - err.tszInfo = info; - err.uTimeout = 10000; - - if (CallService(MS_CLIST_SYSTRAY_NOTIFY, 0, (LPARAM)&err) == 0) - return NULL; - } + if (!Clist_TrayNotifyW(m_szModuleName, title, info, type == EVENT_CLIENT ? NIIF_WARNING : NIIF_INFO, 10000)) + return NULL; } if (type == EVENT_CLIENT) |