Module: wine Branch: master Commit: 91e2f61cda8037b0f276fd3efa097a4faf24e7cc URL: http://source.winehq.org/git/wine.git/?a=commit;h=91e2f61cda8037b0f276fd3efa...
Author: Aric Stewart aric@codeweavers.com Date: Wed Mar 25 14:35:37 2009 -0500
msctf: Implement ThreadMgr ITfSource::UnadviseSink.
---
dlls/msctf/threadmgr.c | 9 +++++++-- 1 files changed, 7 insertions(+), 2 deletions(-)
diff --git a/dlls/msctf/threadmgr.c b/dlls/msctf/threadmgr.c index b2ec069..5461425 100644 --- a/dlls/msctf/threadmgr.c +++ b/dlls/msctf/threadmgr.c @@ -372,9 +372,14 @@ static WINAPI HRESULT ThreadMgrSource_AdviseSink(ITfSource *iface,
static WINAPI HRESULT ThreadMgrSource_UnadviseSink(ITfSource *iface, DWORD pdwCookie) { + ThreadMgrSink *sink = (ThreadMgrSink*)pdwCookie; ThreadMgr *This = impl_from_ITfSourceVtbl(iface); - FIXME("STUB:(%p)\n",This); - return E_NOTIMPL; + TRACE("(%p) %x\n",This,pdwCookie); + + list_remove(&sink->entry); + free_sink(sink); + + return S_OK; }
static const ITfSourceVtbl ThreadMgr_SourceVtbl =