aboutsummaryrefslogtreecommitdiff
path: root/test/dw_resource_test.cc
diff options
context:
space:
mode:
Diffstat (limited to 'test/dw_resource_test.cc')
-rw-r--r--test/dw_resource_test.cc4
1 files changed, 2 insertions, 2 deletions
diff --git a/test/dw_resource_test.cc b/test/dw_resource_test.cc
index a2a26c62..e8a8b227 100644
--- a/test/dw_resource_test.cc
+++ b/test/dw_resource_test.cc
@@ -62,7 +62,7 @@ int main(int argc, char **argv)
styleAttrs.color = Color::create (layout, 0x000000);
styleAttrs.backgroundColor = Color::create (layout, 0xffffff);
- Style *widgetStyle = Style::create (layout, &styleAttrs);
+ Style *widgetStyle = Style::create (&styleAttrs);
Textblock *textblock = new Textblock (false);
textblock->setStyle (widgetStyle);
@@ -73,7 +73,7 @@ int main(int argc, char **argv)
styleAttrs.margin.setVal (0);
styleAttrs.backgroundColor = NULL;
- widgetStyle = Style::create (layout, &styleAttrs);
+ widgetStyle = Style::create (&styleAttrs);
SelectionResource *res = layout->getResourceFactory()->createListResource
(ListResource::SELECTION_AT_MOST_ONE, 4);