Commit 1c36e49a authored by Ulrich Sibiller's avatar Ulrich Sibiller Committed by Mike Gabriel

Clipboard.c: drop unneeded return code

parent bf87f8bb
...@@ -1313,7 +1313,10 @@ void nxagentNotifySelection(XEvent *X) ...@@ -1313,7 +1313,10 @@ void nxagentNotifySelection(XEvent *X)
} }
else else
{ {
result = XChangeProperty(nxagentDisplay, /* Fill the property on the initial requestor with the requested data */
/* The XChangeProperty source code reveals it will always
return 1, no matter what, so no need to check the result */
XChangeProperty(nxagentDisplay,
lastServerRequestor, lastServerRequestor,
lastServerProperty, lastServerProperty,
lastServerTarget, lastServerTarget,
...@@ -1321,7 +1324,6 @@ void nxagentNotifySelection(XEvent *X) ...@@ -1321,7 +1324,6 @@ void nxagentNotifySelection(XEvent *X)
PropModeReplace, PropModeReplace,
pszReturnData, pszReturnData,
ulReturnItems); ulReturnItems);
/* Fill the property on the initial requestor with the requested data */
#ifdef DEBUG #ifdef DEBUG
{ {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment