summaryrefslogtreecommitdiff
path: root/test/dw_example.cc
diff options
context:
space:
mode:
Diffstat (limited to 'test/dw_example.cc')
-rw-r--r--test/dw_example.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/dw_example.cc b/test/dw_example.cc
index 7879dfd8..52aa2440 100644
--- a/test/dw_example.cc
+++ b/test/dw_example.cc
@@ -62,7 +62,7 @@ int main(int argc, char **argv)
dw::core::style::Style *widgetStyle =
dw::core::style::Style::create (layout, &styleAttrs);
- dw::Textblock *textblock = new dw::Textblock (false, 100);
+ dw::Textblock *textblock = new dw::Textblock (false);
textblock->setStyle (widgetStyle);
layout->setWidget (textblock);