aboutsummaryrefslogtreecommitdiff
path: root/src/form.cc
diff options
context:
space:
mode:
authorJorge Arellano Cid <jcid@dillo.org>2009-01-14 18:49:19 -0300
committerJorge Arellano Cid <jcid@dillo.org>2009-01-14 18:49:19 -0300
commit0058f32eb536c7c286a6366da9e517e58dbe4a69 (patch)
tree18d6906cd799018ae517fa8dfae0e9a03c1cfe50 /src/form.cc
parent952f0fed9ae8df6434d1b613b98fa48d2c698332 (diff)
Fix: inherit bgcolor from parent widget (images). Also cleanups.
Diffstat (limited to 'src/form.cc')
-rw-r--r--src/form.cc2
1 files changed, 0 insertions, 2 deletions
diff --git a/src/form.cc b/src/form.cc
index 2f8b320a..7d06f207 100644
--- a/src/form.cc
+++ b/src/form.cc
@@ -1947,8 +1947,6 @@ static Embed *Html_input_image(DilloHtml *html, const char *tag, int tagsize)
(url = a_Html_url_new(html, attrbuf, NULL, 0))) {
style_attrs = *html->styleEngine->style ();
style_attrs.cursor = CURSOR_POINTER;
- style_attrs.backgroundColor =
- style::Color::create (HT2LT(html), S_TOP(html)->current_bg_color);
/* create new image and add it to the button */
if ((Image = a_Html_add_new_image(html, tag, tagsize, url, false))) {