summaryrefslogtreecommitdiffstats
path: root/generic/tkTextWind.c
diff options
context:
space:
mode:
authordkf <donal.k.fellows@manchester.ac.uk>2010-03-11 09:43:19 (GMT)
committerdkf <donal.k.fellows@manchester.ac.uk>2010-03-11 09:43:19 (GMT)
commit34d6610e816c6d60f58dc99c2f1554d0410f28bf (patch)
treea6308a0dd54c3a26ee2fe51ee430fa98e9e84a71 /generic/tkTextWind.c
parent3259fbc2451dd52b8aec46351254cf38818b3b83 (diff)
downloadtk-34d6610e816c6d60f58dc99c2f1554d0410f28bf.zip
tk-34d6610e816c6d60f58dc99c2f1554d0410f28bf.tar.gz
tk-34d6610e816c6d60f58dc99c2f1554d0410f28bf.tar.bz2
Removed lame reliance on the leading letters of the names of segment types when
dumping a text widget. Entailed expanding the scope of the declarations of the types of embedded images and windows.
Diffstat (limited to 'generic/tkTextWind.c')
-rw-r--r--generic/tkTextWind.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/generic/tkTextWind.c b/generic/tkTextWind.c
index fa42b05..8c032c6 100644
--- a/generic/tkTextWind.c
+++ b/generic/tkTextWind.c
@@ -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: tkTextWind.c,v 1.29 2010/02/21 12:14:16 dkf Exp $
+ * RCS: @(#) $Id: tkTextWind.c,v 1.30 2010/03/11 09:43:19 dkf Exp $
*/
#include "tkPort.h"
@@ -72,7 +72,7 @@ static TkTextEmbWindowClient *EmbWinGetClient(const TkText *textPtr,
* The following structure declares the "embedded window" segment type.
*/
-static const Tk_SegType tkTextEmbWindowType = {
+const Tk_SegType tkTextEmbWindowType = {
"window", /* name */
0, /* leftGravity */
NULL, /* splitProc */