summaryrefslogtreecommitdiffstats
path: root/doc/ConfigWidg.3
diff options
context:
space:
mode:
authordkf <dkf@noemail.net>2004-03-22 16:04:42 (GMT)
committerdkf <dkf@noemail.net>2004-03-22 16:04:42 (GMT)
commit704b2390795373c19fb083fbd64e90edcff93771 (patch)
treee67c5dfddd5802130ab8f17d508d76f50fb69540 /doc/ConfigWidg.3
parent40619a58ba095e33a39918b3cf1e2464af016f48 (diff)
downloadtk-704b2390795373c19fb083fbd64e90edcff93771.zip
tk-704b2390795373c19fb083fbd64e90edcff93771.tar.gz
tk-704b2390795373c19fb083fbd64e90edcff93771.tar.bz2
Corrected docs to no longer use malloc/free. [Bug 920695]
FossilOrigin-Name: a4ed7a7a05e0dc3afb8650747cb796a87cc53832
Diffstat (limited to 'doc/ConfigWidg.3')
-rw-r--r--doc/ConfigWidg.36
1 files changed, 3 insertions, 3 deletions
diff --git a/doc/ConfigWidg.3 b/doc/ConfigWidg.3
index 51c2f7e..21405ec 100644
--- a/doc/ConfigWidg.3
+++ b/doc/ConfigWidg.3
@@ -5,7 +5,7 @@
'\" See the file "license.terms" for information on usage and redistribution
'\" of this file, and for a DISCLAIMER OF ALL WARRANTIES.
'\"
-'\" RCS: @(#) $Id: ConfigWidg.3,v 1.9 2003/10/06 22:20:22 dgp Exp $
+'\" RCS: @(#) $Id: ConfigWidg.3,v 1.10 2004/03/22 16:04:51 dkf Exp $
'\"
.so man.macros
.TH Tk_ConfigureWidget 3 4.1 Tk "Tk Library Procedures"
@@ -312,12 +312,12 @@ is stored in the target.
\fBTK_CONFIG_STRING\fR
A copy
of the value is made by allocating memory space with
-\fBmalloc\fR and copying the value into the dynamically-allocated
+\fBTcl_Alloc\fR and copying the value into the dynamically-allocated
space. A pointer to the new string is stored in the target.
If TK_CONFIG_NULL_OK is specified in \fIspecFlags\fR then the value
may be an empty string, in which case the target will be set to NULL.
If the previous value of the target wasn't NULL, then it is
-freed by passing it to \fBfree\fR.
+freed by passing it to \fBTcl_Free\fR.
.TP
\fBTK_CONFIG_SYNONYM\fR
This \fItype\fR value identifies special entries in \fIspecs\fR that