summaryrefslogtreecommitdiffstats
path: root/macosx/tkMacOSXClipboard.c
diff options
context:
space:
mode:
authorjan.nijtmans <nijtmans@users.sourceforge.net>2020-08-06 16:16:16 (GMT)
committerjan.nijtmans <nijtmans@users.sourceforge.net>2020-08-06 16:16:16 (GMT)
commitc24b589a6b793f5112cd11f613af9aa7ae10b55f (patch)
tree1dfc65f9ac4dc2c457dc27fc0a96f3aafcf443d4 /macosx/tkMacOSXClipboard.c
parentc56bbfcace9ceaac2fa36e32d7c9349e7be3e3b5 (diff)
downloadtk-c24b589a6b793f5112cd11f613af9aa7ae10b55f.zip
tk-c24b589a6b793f5112cd11f613af9aa7ae10b55f.tar.gz
tk-c24b589a6b793f5112cd11f613af9aa7ae10b55f.tar.bz2
Add stub entry for XLowerWindow() on MacOS (no idea why this was commented out, windows and X11 already had this)
More use of TCL_UNUSED()
Diffstat (limited to 'macosx/tkMacOSXClipboard.c')
-rw-r--r--macosx/tkMacOSXClipboard.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/macosx/tkMacOSXClipboard.c b/macosx/tkMacOSXClipboard.c
index be1f16c..bae2b89 100644
--- a/macosx/tkMacOSXClipboard.c
+++ b/macosx/tkMacOSXClipboard.c
@@ -177,7 +177,7 @@ XSetSelectionOwner(
Display *display, /* X Display. */
Atom selection, /* What selection to own. */
Window owner, /* Window to be the owner. */
- Time time) /* The current time? */
+ TCL_UNUSED(Time)) /* The current time? */
{
TkDisplay *dispPtr = TkGetDisplayList();
@@ -237,8 +237,8 @@ TkMacOSXSelDeadWindow(
void
TkSelUpdateClipboard(
- TkWindow *winPtr, /* Window associated with clipboard. */
- TkClipboardTarget *targetPtr)
+ TCL_UNUSED(TkWindow *), /* Window associated with clipboard. */
+ TCL_UNUSED(TkClipboardTarget *))
/* Info about the content. */
{
NSPasteboard *pb = [NSPasteboard generalPasteboard];
@@ -294,7 +294,7 @@ TkSelEventProc(
void
TkSelPropProc(
- XEvent *eventPtr) /* X PropertyChange event. */
+ TCL_UNUSED(XEvent *)) /* X PropertyChange event. */
{
}