summaryrefslogtreecommitdiffstats
path: root/unix
diff options
context:
space:
mode:
authorjan.nijtmans <nijtmans@users.sourceforge.net>2016-04-11 10:39:54 (GMT)
committerjan.nijtmans <nijtmans@users.sourceforge.net>2016-04-11 10:39:54 (GMT)
commit6f43610172ef499ef09197cc5e0adf3582360a5c (patch)
tree765f362a28b1996875676e9dea0d596ada815857 /unix
parentee87f2694be353b83f0306ab4bc03225b61b7caf (diff)
downloadtk-6f43610172ef499ef09197cc5e0adf3582360a5c.zip
tk-6f43610172ef499ef09197cc5e0adf3582360a5c.tar.gz
tk-6f43610172ef499ef09197cc5e0adf3582360a5c.tar.bz2
Deprecate Tk_FreeXId(), since it doesn't do anything since 2008-08-19: [8356aa0eec57fa7a]
Diffstat (limited to 'unix')
-rw-r--r--unix/tkUnixCursor.c1
-rw-r--r--unix/tkUnixXId.c1
2 files changed, 0 insertions, 2 deletions
diff --git a/unix/tkUnixCursor.c b/unix/tkUnixCursor.c
index 5266bde..8afb92d 100644
--- a/unix/tkUnixCursor.c
+++ b/unix/tkUnixCursor.c
@@ -639,7 +639,6 @@ TkpFreeCursor(
TkUnixCursor *unixCursorPtr = (TkUnixCursor *) cursorPtr;
XFreeCursor(unixCursorPtr->display, (Cursor) unixCursorPtr->info.cursor);
- Tk_FreeXId(unixCursorPtr->display, (XID) unixCursorPtr->info.cursor);
}
/*
diff --git a/unix/tkUnixXId.c b/unix/tkUnixXId.c
index 668f228..ec2451c 100644
--- a/unix/tkUnixXId.c
+++ b/unix/tkUnixXId.c
@@ -96,7 +96,6 @@ Tk_FreePixmap(
Pixmap pixmap) /* Identifier for pixmap. */
{
XFreePixmap(display, pixmap);
- Tk_FreeXId(display, (XID) pixmap);
}