summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorjandegr <jandegr@users.noreply.github.com>2017-05-07 13:59:41 +0200
committerGitHub <noreply@github.com>2017-05-07 13:59:41 +0200
commita1cfc60ce93826ac5169e43edb1b6918a70f6e81 (patch)
tree8fe6749cd692ef62d7f9a2864e03ab0419819a4e
parent0ea6821025e57265cbbbb893b167e0d9c06c66dc (diff)
downloadnavit-layout.tar.gz
remove default text backgroundlayout
-rw-r--r--navit/layout.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/navit/layout.c b/navit/layout.c
index c78e7c79d..328c0609e 100644
--- a/navit/layout.c
+++ b/navit/layout.c
@@ -529,7 +529,6 @@ circle_new(struct attr *parent, struct attr **attrs)
e = g_new0(struct element, 1);
e->type=element_circle;
e->color = color_black;
- e->u.circle.background_color = color_white;
element_set_color(e, attrs);
element_set_background_color(&e->u.circle.background_color, attrs);
element_set_text_size(e, attrs);
@@ -550,7 +549,6 @@ text_new(struct attr *parent, struct attr **attrs)
e->type=element_text;
element_set_text_size(e, attrs);
e->color = color_black;
- e->u.text.background_color = color_white;
element_set_color(e, attrs);
element_set_background_color(&e->u.text.background_color, attrs);