diff options
author | Sebastian Geerken <devnull@localhost> | 2013-09-20 09:40:14 +0200 |
---|---|---|
committer | Sebastian Geerken <devnull@localhost> | 2013-09-20 09:40:14 +0200 |
commit | f815ca9e7f27a8fc4a8230413ecac8ad2b2e0621 (patch) | |
tree | 5810585bb4c5ddc256b7c42718581ea394a9036a /src/web.cc | |
parent | fae1427770c3484970798e2e3f9f074f4af6599c (diff) |
Added BrowserWindow and DilloURL (base URL) to StyleEngine::apply and related.
Diffstat (limited to 'src/web.cc')
-rw-r--r-- | src/web.cc | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -70,13 +70,13 @@ int a_Web_dispatch_by_type (const char *Type, DilloWeb *Web, /* Set a style for the widget */ StyleEngine styleEngine (layout); - styleEngine.startElement ("body"); + styleEngine.startElement ("body", Web->bw, Web->url); dw = (Widget*) viewer(Type, Web, Call, Data); if (dw == NULL) return -1; - dw->setStyle (styleEngine.style ()); + dw->setStyle (styleEngine.style (Web->bw, Web->url)); /* This method frees the old dw if any */ layout->setWidget(dw); |