summaryrefslogtreecommitdiffstats
path: root/generic
diff options
context:
space:
mode:
authorrjohnson <rjohnson>1998-10-16 00:46:18 (GMT)
committerrjohnson <rjohnson>1998-10-16 00:46:18 (GMT)
commit00ace6b731cc252d13a0f4df56cb7576300c26f8 (patch)
tree4c6ef0612a00ddd1f599e20831195dd0e64a1261 /generic
parentc93c0e1c5641d87361cc3527eb53c38f7fdfb1bf (diff)
downloadtk-00ace6b731cc252d13a0f4df56cb7576300c26f8.zip
tk-00ace6b731cc252d13a0f4df56cb7576300c26f8.tar.gz
tk-00ace6b731cc252d13a0f4df56cb7576300c26f8.tar.bz2
Fixed bug in options for text items in canvas widget. unlike all other
items they didn't support a null (transparant fill color)
Diffstat (limited to 'generic')
-rw-r--r--generic/tkCanvText.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/generic/tkCanvText.c b/generic/tkCanvText.c
index 298553a..93230f7 100644
--- a/generic/tkCanvText.c
+++ b/generic/tkCanvText.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: tkCanvText.c,v 1.2 1998/09/14 18:23:05 stanton Exp $
+ * RCS: @(#) $Id: tkCanvText.c,v 1.3 1998/10/16 00:46:19 rjohnson Exp $
*/
#include <stdio.h>
@@ -86,7 +86,7 @@ static Tk_ConfigSpec configSpecs[] = {
"center", Tk_Offset(TextItem, anchor),
TK_CONFIG_DONT_SET_DEFAULT},
{TK_CONFIG_COLOR, "-fill", (char *) NULL, (char *) NULL,
- "black", Tk_Offset(TextItem, color), 0},
+ "black", Tk_Offset(TextItem, color), TK_CONFIG_NULL_OK},
{TK_CONFIG_FONT, "-font", (char *) NULL, (char *) NULL,
DEF_CANVTEXT_FONT, Tk_Offset(TextItem, tkfont), 0},
{TK_CONFIG_JUSTIFY, "-justify", (char *) NULL, (char *) NULL,