summaryrefslogtreecommitdiffstats
path: root/unix
diff options
context:
space:
mode:
authorjan.nijtmans <nijtmans@users.sourceforge.net>2016-08-12 14:44:46 (GMT)
committerjan.nijtmans <nijtmans@users.sourceforge.net>2016-08-12 14:44:46 (GMT)
commitf494a10c21ef287a1b1546a351f97c3f15f47f99 (patch)
tree775fcd02f5a43223631bc87a40892ecbbeea3e2f /unix
parent861ca920038c540cbbad1918183df4c1ecccb17a (diff)
downloadtk-f494a10c21ef287a1b1546a351f97c3f15f47f99.zip
tk-f494a10c21ef287a1b1546a351f97c3f15f47f99.tar.gz
tk-f494a10c21ef287a1b1546a351f97c3f15f47f99.tar.bz2
Change Tk_FreeXId() into a macro.
A few end-of-line spacing eliminations.
Diffstat (limited to 'unix')
-rw-r--r--unix/tkUnixXId.c33
1 files changed, 0 insertions, 33 deletions
diff --git a/unix/tkUnixXId.c b/unix/tkUnixXId.c
index ec2451c..c6873a1 100644
--- a/unix/tkUnixXId.c
+++ b/unix/tkUnixXId.c
@@ -14,39 +14,6 @@
/*
*----------------------------------------------------------------------
*
- * Tk_FreeXId --
- *
- * This function is called to indicate that an X resource identifier is
- * now free.
- *
- * Results:
- * None.
- *
- * Side effects:
- * The identifier is added to the stack of free identifiers for its
- * display, so that it can be re-used.
- *
- *----------------------------------------------------------------------
- */
-
-void
-Tk_FreeXId(
- Display *display, /* Display for which xid was allocated. */
- XID xid) /* Identifier that is no longer in use. */
-{
- /*
- * This does nothing, because the XC-MISC extension takes care of
- * freeing XIDs for us. It has been a standard X11 extension for
- * about 15 years as of 2008. Keith Packard and another X.org
- * developer suggested that we remove the previous code that used:
- * #define XLIB_ILLEGAL_ACCESS.
- */
-}
-
-
-/*
- *----------------------------------------------------------------------
- *
* Tk_GetPixmap --
*
* Same as the XCreatePixmap function except that it manages resource