summaryrefslogtreecommitdiff
path: root/test/dw_ui_test.cc
diff options
context:
space:
mode:
Diffstat (limited to 'test/dw_ui_test.cc')
-rw-r--r--test/dw_ui_test.cc4
1 files changed, 2 insertions, 2 deletions
diff --git a/test/dw_ui_test.cc b/test/dw_ui_test.cc
index 60893f06..2bcee1c5 100644
--- a/test/dw_ui_test.cc
+++ b/test/dw_ui_test.cc
@@ -65,7 +65,7 @@ int main(int argc, char **argv)
fontAttrs.fontVariant = FONT_VARIANT_NORMAL;
styleAttrs.font = dw::core::style::Font::create (layout, &fontAttrs);
- Style *tableStyle = Style::create (layout, &styleAttrs);
+ Style *tableStyle = Style::create (&styleAttrs);
Table *table = new Table (false);
table->setStyle (tableStyle);
@@ -76,7 +76,7 @@ int main(int argc, char **argv)
styleAttrs.backgroundColor = NULL;
styleAttrs.margin.setVal (0);
- Style *cellStyle = Style::create (layout, &styleAttrs);
+ Style *cellStyle = Style::create (&styleAttrs);
// First of all, the resources. Later, they are embedded into the
// widget tree.