summaryrefslogtreecommitdiffstats
path: root/generic/tkTextImage.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/tkTextImage.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/tkTextImage.c')
-rw-r--r--generic/tkTextImage.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/generic/tkTextImage.c b/generic/tkTextImage.c
index c394196..7f1ce25 100644
--- a/generic/tkTextImage.c
+++ b/generic/tkTextImage.c
@@ -9,7 +9,7 @@
* See the file "license.terms" for information on usage and redistribution of
* this file, and for a DISCLAIMER OF ALL WARRANTIES.
*
- * RCS: @(#) $Id: tkTextImage.c,v 1.28 2010/01/18 20:43:38 nijtmans Exp $
+ * RCS: @(#) $Id: tkTextImage.c,v 1.29 2010/03/11 09:43:19 dkf Exp $
*/
#include "tkPort.h"
@@ -56,7 +56,7 @@ static void EmbImageProc(ClientData clientData, int x, int y,
* The following structure declares the "embedded image" segment type.
*/
-static const Tk_SegType tkTextEmbImageType = {
+const Tk_SegType tkTextEmbImageType = {
"image", /* name */
0, /* leftGravity */
NULL, /* splitProc */