diff options
author | jan.nijtmans <nijtmans@users.sourceforge.net> | 2016-08-12 14:44:46 (GMT) |
---|---|---|
committer | jan.nijtmans <nijtmans@users.sourceforge.net> | 2016-08-12 14:44:46 (GMT) |
commit | 6e2a85fb21b429298869479bf22152eaeff59897 (patch) | |
tree | 775fcd02f5a43223631bc87a40892ecbbeea3e2f /unix | |
parent | a6a58780aa4d9a7ce784c2367056577dc95d46a2 (diff) | |
download | tk-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.c | 33 |
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 |