diff options
author | George Hazan <ghazan@miranda.im> | 2017-03-28 15:38:49 +0300 |
---|---|---|
committer | George Hazan <ghazan@miranda.im> | 2017-03-28 15:38:49 +0300 |
commit | 2be5844edd93ab3490b4689cad33d75b4c77f3a8 (patch) | |
tree | 13721f733442b6068164efd79c3dfdae6aa622d5 /plugins/Dropbox | |
parent | 3ffc894a7a132a013e74fe063b72d79e17c998dc (diff) |
and finally MS_MSG_GETWINDOWDATA has gone, zihrono levraha
Diffstat (limited to 'plugins/Dropbox')
-rw-r--r-- | plugins/Dropbox/src/dropbox_events.cpp | 2 | ||||
-rw-r--r-- | plugins/Dropbox/src/dropbox_options.cpp | 2 | ||||
-rw-r--r-- | plugins/Dropbox/src/dropbox_utils.cpp | 2 |
3 files changed, 3 insertions, 3 deletions
diff --git a/plugins/Dropbox/src/dropbox_events.cpp b/plugins/Dropbox/src/dropbox_events.cpp index 8ed963d51e..f06b4514e3 100644 --- a/plugins/Dropbox/src/dropbox_events.cpp +++ b/plugins/Dropbox/src/dropbox_events.cpp @@ -111,7 +111,7 @@ int CDropbox::OnProtoAck(WPARAM, LPARAM lParam) for (MCONTACT hContact = db_find_first(ack->szModule); hContact; hContact = db_find_next(hContact, ack->szModule)) {
MessageWindowData msgw;
- if (!CallService(MS_MSG_GETWINDOWDATA, hContact, (LPARAM)&msgw) && msgw.uState & MSG_WINDOW_STATE_EXISTS) {
+ if (!Srmm_GetWindowData(hContact, msgw) && msgw.uState & MSG_WINDOW_STATE_EXISTS) {
BBButton bbd = {};
bbd.pszModuleName = MODULE;
bbd.dwButtonID = BBB_ID_FILE_SEND;
diff --git a/plugins/Dropbox/src/dropbox_options.cpp b/plugins/Dropbox/src/dropbox_options.cpp index 2ce64cca26..1105d3e71a 100644 --- a/plugins/Dropbox/src/dropbox_options.cpp +++ b/plugins/Dropbox/src/dropbox_options.cpp @@ -125,7 +125,7 @@ void CDropboxOptionsInterception::OnApply() // hide tabsrmm button for intercepted accounts
for (MCONTACT hContact = db_find_first(acc->szModuleName); hContact; hContact = db_find_next(hContact, acc->szModuleName)) {
MessageWindowData msgw;
- if (!CallService(MS_MSG_GETWINDOWDATA, hContact, (LPARAM)&msgw) && msgw.uState & MSG_WINDOW_STATE_EXISTS) {
+ if (!Srmm_GetWindowData(hContact, msgw) && msgw.uState & MSG_WINDOW_STATE_EXISTS) {
BBButton bbd = {};
bbd.pszModuleName = MODULE;
bbd.dwButtonID = BBB_ID_FILE_SEND;
diff --git a/plugins/Dropbox/src/dropbox_utils.cpp b/plugins/Dropbox/src/dropbox_utils.cpp index 3aacbc9267..6da10ae8b3 100644 --- a/plugins/Dropbox/src/dropbox_utils.cpp +++ b/plugins/Dropbox/src/dropbox_utils.cpp @@ -117,7 +117,7 @@ void CDropbox::SendToContact(MCONTACT hContact, const wchar_t *data) void CDropbox::PasteToInputArea(MCONTACT hContact, const wchar_t *data)
{
MessageWindowData mwd;
- if (!CallService(MS_MSG_GETWINDOWDATA, hContact, (LPARAM)&mwd)) {
+ if (!Srmm_GetWindowData(hContact, mwd)) {
HWND hEdit = GetDlgItem(mwd.hwndWindow, 1002 /*IDC_MESSAGE*/);
if (!hEdit) hEdit = GetDlgItem(mwd.hwndWindow, 1009 /*IDC_CHATMESSAGE*/);
|