summaryrefslogtreecommitdiff
path: root/dw/textblock_linebreaking.cc
diff options
context:
space:
mode:
authorSebastian Geerken <devnull@localhost>2014-10-14 16:52:10 +0200
committerSebastian Geerken <devnull@localhost>2014-10-14 16:52:10 +0200
commit3143688e32d73fa788fd2d37e395753bae578e7d (patch)
treeeafdaac3cd9e5543173abc6b7442803f51a7b7a3 /dw/textblock_linebreaking.cc
parentf2e8f4db64703ef02275b5f1ede8ea79dac1d2ad (diff)
Removed Textblock::calcWidgetSize. (Has finally become obsolete.)
Diffstat (limited to 'dw/textblock_linebreaking.cc')
-rw-r--r--dw/textblock_linebreaking.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/dw/textblock_linebreaking.cc b/dw/textblock_linebreaking.cc
index 2a4f0b7c..66391952 100644
--- a/dw/textblock_linebreaking.cc
+++ b/dw/textblock_linebreaking.cc
@@ -1828,7 +1828,7 @@ void Textblock::rewrap ()
Word *word = words->getRef (i);
if (word->content.type == core::Content::WIDGET_IN_FLOW)
- calcWidgetSize (word->content.widget, &word->size);
+ word->content.widget->sizeRequest (&word->size);
wordWrap (i, false);