Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
W
wine-cw
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Registry
Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
wine
wine-cw
Commits
5e9df71e
Commit
5e9df71e
authored
Aug 31, 2006
by
Robert Shearman
Committed by
Alexandre Julliard
Sep 07, 2006
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
ole32: Don't send data changes in DataAdviseHolder_Advise for
ADVF_PRIMEFIRST connections if we are connected to a data object, since it will send the data change for us.
parent
53d01d27
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
3 deletions
+4
-3
oleobj.c
dlls/ole32/oleobj.c
+4
-3
No files found.
dlls/ole32/oleobj.c
View file @
5e9df71e
...
@@ -728,9 +728,6 @@ static HRESULT WINAPI DataAdviseHolder_Advise(
...
@@ -728,9 +728,6 @@ static HRESULT WINAPI DataAdviseHolder_Advise(
if
(
This
->
Connections
[
index
].
sink
!=
NULL
)
{
if
(
This
->
Connections
[
index
].
sink
!=
NULL
)
{
IAdviseSink_AddRef
(
This
->
Connections
[
index
].
sink
);
IAdviseSink_AddRef
(
This
->
Connections
[
index
].
sink
);
if
(
advf
&
ADVF_PRIMEFIRST
)
{
IDataAdviseHolder_SendOnDataChange
(
iface
,
pDataObject
,
0
,
advf
);
}
/* if we are already connected advise the remote object */
/* if we are already connected advise the remote object */
if
(
This
->
delegate
)
if
(
This
->
delegate
)
...
@@ -748,6 +745,10 @@ static HRESULT WINAPI DataAdviseHolder_Advise(
...
@@ -748,6 +745,10 @@ static HRESULT WINAPI DataAdviseHolder_Advise(
}
}
This
->
Connections
[
index
].
advf
|=
WINE_ADVF_REMOTE
;
This
->
Connections
[
index
].
advf
|=
WINE_ADVF_REMOTE
;
}
}
else
if
(
advf
&
ADVF_PRIMEFIRST
)
/* only do this if we have no delegate, since in the above case the
* delegate will do the priming for us */
IDataAdviseHolder_SendOnDataChange
(
iface
,
pDataObject
,
0
,
advf
);
}
}
/*
/*
* Return the index as the cookie.
* Return the index as the cookie.
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment