aboutsummaryrefslogtreecommitdiff
path: root/generic
diff options
context:
space:
mode:
Diffstat (limited to 'generic')
-rw-r--r--generic/Text.c6
1 files changed, 0 insertions, 6 deletions
diff --git a/generic/Text.c b/generic/Text.c
index 3bb3a02..0db7618 100644
--- a/generic/Text.c
+++ b/generic/Text.c
@@ -82,7 +82,6 @@ typedef struct _TextItemStruct {
ZnAnchor anchor;
ZnAnchor connection_anchor;
ZnColor color;
- ZnColor fill_color;
char *text;
Pixmap fill_pattern;
ZnFont font;
@@ -119,8 +118,6 @@ static ZnAttrConfig text_attrs[] = {
ZN_COORDS_FLAG|ZN_ITEM_FLAG, False },
{ ZN_CONFIG_ANCHOR, "-connectionanchor", NULL,
Tk_Offset(TextItemStruct, connection_anchor), 0, ZN_COORDS_FLAG, False },
- { ZN_CONFIG_COLOR, "-fillcolor", NULL,
- Tk_Offset(TextItemStruct, fill_color), 0, ZN_DRAW_FLAG, False },
{ ZN_CONFIG_PATTERN, "-fillpattern", NULL,
Tk_Offset(TextItemStruct, fill_pattern), 0, ZN_DRAW_FLAG, False },
{ ZN_CONFIG_FONT, "-font", NULL,
@@ -188,7 +185,6 @@ Init(Item item,
text->anchor = ZnAnchorNW;
text->connection_anchor = ZnAnchorSW;
text->color = ZnGetColorByValue(wi->win, wi->fore_color);
- text->fill_color = ZnGetColorByValue(wi->win, wi->back_color);
text->alignment = ZnJustifyLeft;
text->font = Tk_GetFont(wi->interp, wi->win, Tk_NameOfFont(wi->font));
text->width = 0;
@@ -226,7 +222,6 @@ Clone(Item item)
Tk_NameOfBitmap(wi->dpy, text->fill_pattern));
}
text->color = ZnGetColorByValue(wi->win, text->color);
- text->fill_color = ZnGetColorByValue(wi->win, text->fill_color);
text->font = Tk_GetFont(wi->interp, wi->win, Tk_NameOfFont(text->font));
if (text->text_info) {
@@ -263,7 +258,6 @@ Destroy(Item item)
text->fill_pattern = ZnUnspecifiedPattern;
}
ZnFreeColor(text->color);
- ZnFreeColor(text->fill_color);
Tk_FreeFont(text->font);
if (text->text_info) {