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)
commit6e2a85fb21b429298869479bf22152eaeff59897 (patch)
tree775fcd02f5a43223631bc87a40892ecbbeea3e2f /unix
parenta6a58780aa4d9a7ce784c2367056577dc95d46a2 (diff)
downloadtk-6e2a85fb21b429298869479bf22152eaeff59897.zip
tk-6e2a85fb21b429298869479bf22152eaeff59897.tar.gz
tk-6e2a85fb21b429298869479bf22152eaeff59897.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