diff options
author | corvid <corvid@lavabit.com> | 2012-11-26 07:16:50 +0000 |
---|---|---|
committer | corvid <corvid@lavabit.com> | 2012-11-26 07:16:50 +0000 |
commit | 0bdb3baeb86c23c9673378c69a2758cd08b66d91 (patch) | |
tree | 8d17bcfcd36f3e1449aaccce1f1a20e9c644aed3 /test/dw_ui_test.cc | |
parent | ae3d6a7af29ef4954269e60f1c4fc382ca7d80a9 (diff) |
rm unused arg in Style::create
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. |