diff options
author | jan.nijtmans <nijtmans@users.sourceforge.net> | 2017-05-08 12:02:25 (GMT) |
---|---|---|
committer | jan.nijtmans <nijtmans@users.sourceforge.net> | 2017-05-08 12:02:25 (GMT) |
commit | 39dd1134f379cf247b40c74d68ea6bec62edb33e (patch) | |
tree | ffde95ad464de4ef43e56a81ddd11193eb229a84 /unix | |
parent | 83920326ba5851cad594e6a261205a202b75a338 (diff) | |
download | tk-39dd1134f379cf247b40c74d68ea6bec62edb33e.zip tk-39dd1134f379cf247b40c74d68ea6bec62edb33e.tar.gz tk-39dd1134f379cf247b40c74d68ea6bec62edb33e.tar.bz2 |
Remove calls to Tk_FreeXId(), since it's just a NOP.
Diffstat (limited to 'unix')
-rw-r--r-- | unix/tkUnixCursor.c | 1 | ||||
-rw-r--r-- | unix/tkUnixXId.c | 1 |
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); } |