summaryrefslogtreecommitdiffstats
path: root/win/tkWinClipboard.c
diff options
context:
space:
mode:
Diffstat (limited to 'win/tkWinClipboard.c')
-rw-r--r--win/tkWinClipboard.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/win/tkWinClipboard.c b/win/tkWinClipboard.c
index 19dcc11..97d809c 100644
--- a/win/tkWinClipboard.c
+++ b/win/tkWinClipboard.c
@@ -190,7 +190,7 @@ error:
*----------------------------------------------------------------------
*/
-void
+int
XSetSelectionOwner(display, selection, owner, time)
Display* display;
Atom selection;
@@ -218,6 +218,7 @@ XSetSelectionOwner(display, selection, owner, time)
UpdateClipboard(hwnd);
}
}
+ return 0;
}
/*