From 0bdb3baeb86c23c9673378c69a2758cd08b66d91 Mon Sep 17 00:00:00 2001 From: corvid Date: Mon, 26 Nov 2012 07:16:50 +0000 Subject: rm unused arg in Style::create --- test/dw_example.cc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'test/dw_example.cc') diff --git a/test/dw_example.cc b/test/dw_example.cc index 52aa2440..259650cf 100644 --- a/test/dw_example.cc +++ b/test/dw_example.cc @@ -60,7 +60,7 @@ int main(int argc, char **argv) dw::core::style::Color::create (layout, 0xffffff); dw::core::style::Style *widgetStyle = - dw::core::style::Style::create (layout, &styleAttrs); + dw::core::style::Style::create (&styleAttrs); dw::Textblock *textblock = new dw::Textblock (false); textblock->setStyle (widgetStyle); @@ -72,7 +72,7 @@ int main(int argc, char **argv) styleAttrs.backgroundColor = NULL; dw::core::style::Style *wordStyle = - dw::core::style::Style::create (layout, &styleAttrs); + dw::core::style::Style::create (&styleAttrs); for(int i = 1; i <= 10; i++) { char buf[4]; -- cgit v1.2.3