diff options
author | Sebastian Geerken <devnull@localhost> | 2012-11-27 16:05:54 +0100 |
---|---|---|
committer | Sebastian Geerken <devnull@localhost> | 2012-11-27 16:05:54 +0100 |
commit | 6526b42cefc35149af20d645f15e8bb76b0db0e2 (patch) | |
tree | cc4b9874540709435da9657501eae1db77038d99 /test/dw_ui_test.cc | |
parent | 1250d68c8767232849145d9e6abe681a562f6f5d (diff) | |
parent | c58af8aa171908de5e0e069754803235f8ea70f8 (diff) |
Merge.
Diffstat (limited to 'test/dw_ui_test.cc')
-rw-r--r-- | test/dw_ui_test.cc | 4 |
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. |