diff options
author | stanton <stanton> | 1999-03-30 22:32:02 (GMT) |
---|---|---|
committer | stanton <stanton> | 1999-03-30 22:32:02 (GMT) |
commit | 281b44f112878fd26357474f383f92cfc422285b (patch) | |
tree | 1bb6b91bdee6c7c3d5a009afc0f4eadc511fd9c7 /generic | |
parent | 427809e384430035d0638f4cb09a30c939535d1d (diff) | |
download | tk-281b44f112878fd26357474f383f92cfc422285b.zip tk-281b44f112878fd26357474f383f92cfc422285b.tar.gz tk-281b44f112878fd26357474f383f92cfc422285b.tar.bz2 |
* generic/tkWindow.c (Tk_DestroyWindow): Image handlers are now
finalized before the font subsystem since complex image handlers
may contain references to fonts (e.g. Tix compound images).
[Bug: 1603]
Diffstat (limited to 'generic')
-rw-r--r-- | generic/tkWindow.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/generic/tkWindow.c b/generic/tkWindow.c index d08221e..2f33e8a 100644 --- a/generic/tkWindow.c +++ b/generic/tkWindow.c @@ -12,7 +12,7 @@ * See the file "license.terms" for information on usage and redistribution * of this file, and for a DISCLAIMER OF ALL WARRANTIES. * - * RCS: @(#) $Id: tkWindow.c,v 1.1.4.9 1999/03/10 07:13:47 stanton Exp $ + * RCS: @(#) $Id: tkWindow.c,v 1.1.4.10 1999/03/30 22:32:02 stanton Exp $ */ #include "tkPort.h" @@ -1315,8 +1315,8 @@ Tk_DestroyWindow(tkwin) Tcl_DeleteHashTable(&winPtr->mainPtr->nameTable); TkBindFree(winPtr->mainPtr); - TkFontPkgFree(winPtr->mainPtr); TkDeleteAllImages(winPtr->mainPtr); + TkFontPkgFree(winPtr->mainPtr); /* * When embedding Tk into other applications, make sure |