summaryrefslogtreecommitdiffstats
path: root/generic/tkInt.h
diff options
context:
space:
mode:
authorhobbs <hobbs>2002-04-12 10:06:09 (GMT)
committerhobbs <hobbs>2002-04-12 10:06:09 (GMT)
commit8e510069debe72b6010098ecdac9867c534a5c6e (patch)
treedcc25f95c8ad275eff78ab29937f2130a80faa0d /generic/tkInt.h
parent197b4b9a5236ad16a01f09f391f3e5a46decab27 (diff)
downloadtk-8e510069debe72b6010098ecdac9867c534a5c6e.zip
tk-8e510069debe72b6010098ecdac9867c534a5c6e.tar.gz
tk-8e510069debe72b6010098ecdac9867c534a5c6e.tar.bz2
* generic/tkInt.h:
* unix/tkUnixXId.c (TkFreeXId): frees XID resources. Made idCleanupScheduled a Tcl_TimerToken (was int) in TkDisplay structure to allow us to delete the timer scheduled for it.
Diffstat (limited to 'generic/tkInt.h')
-rw-r--r--generic/tkInt.h7
1 files changed, 4 insertions, 3 deletions
diff --git a/generic/tkInt.h b/generic/tkInt.h
index 44c9f67..75ac87f 100644
--- a/generic/tkInt.h
+++ b/generic/tkInt.h
@@ -11,7 +11,7 @@
* See the file "license.terms" for information on usage and redistribution
* of this file, and for a DISCLAIMER OF ALL WARRANTIES.
*
- * RCS: $Id: tkInt.h,v 1.43 2002/04/05 08:41:07 hobbs Exp $
+ * RCS: $Id: tkInt.h,v 1.44 2002/04/12 10:06:09 hobbs Exp $
*/
#ifndef _TKINT
@@ -423,8 +423,9 @@ typedef struct TkDisplay {
/* First in list of chunks of window
* identifers that can't be reused right
* now. */
- int idCleanupScheduled; /* 1 means a call to WindowIdCleanup has
- * already been scheduled, 0 means it
+ Tcl_TimerToken idCleanupScheduled;
+ /* If set, it means a call to WindowIdCleanup
+ * has already been scheduled, 0 means it
* hasn't. */
/*