From 06fc3d811d71a44b92d45e1263e5fb0099a7304e Mon Sep 17 00:00:00 2001 From: George Hazan Date: Thu, 1 Dec 2016 19:33:16 +0300 Subject: toolbar icons processing code moved to mir_app --- plugins/Dropbox/src/dropbox_options.cpp | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) (limited to 'plugins/Dropbox/src/dropbox_options.cpp') diff --git a/plugins/Dropbox/src/dropbox_options.cpp b/plugins/Dropbox/src/dropbox_options.cpp index 142a22b407..8403890397 100644 --- a/plugins/Dropbox/src/dropbox_options.cpp +++ b/plugins/Dropbox/src/dropbox_options.cpp @@ -133,12 +133,11 @@ void CDropboxOptionsInterception::OnApply() msgw.cbSize = sizeof(msgw); if (!CallService(MS_MSG_GETWINDOWDATA, (WPARAM)&msgwi, (LPARAM)&msgw) && msgw.uState & MSG_WINDOW_STATE_EXISTS) { - BBButton bbd = { sizeof(bbd) }; + BBButton bbd = {}; bbd.pszModuleName = MODULE; bbd.dwButtonID = BBB_ID_FILE_SEND; bbd.bbbFlags = BBSF_HIDDEN | BBSF_DISABLED; - - CallService(MS_BB_SETBUTTONSTATE, hContact, (LPARAM)&bbd); + Srmm_SetButtonState(hContact, &bbd); } } } -- cgit v1.2.3