aboutsummaryrefslogtreecommitdiff
path: root/dw/widget.cc
diff options
context:
space:
mode:
Diffstat (limited to 'dw/widget.cc')
-rw-r--r--dw/widget.cc6
1 files changed, 0 insertions, 6 deletions
diff --git a/dw/widget.cc b/dw/widget.cc
index 19083f61..553439ff 100644
--- a/dw/widget.cc
+++ b/dw/widget.cc
@@ -608,9 +608,6 @@ int Widget::getAvailWidth (bool forceValue)
DBG_OBJ_MSG_END ();
}
- if (width != -1)
- width = misc::max (width, getMinWidth (NULL, forceValue));
-
DBG_OBJ_MSGF ("resize", 1, "=> %d", width);
DBG_OBJ_LEAVE ();
@@ -1553,9 +1550,6 @@ int Widget::getAvailWidthOfChild (Widget *child, bool forceValue)
}
}
- if (width != -1)
- width = misc::max (width, child->getMinWidth (NULL, forceValue));
-
DBG_OBJ_MSGF ("resize", 1, "=> %d", width);
DBG_OBJ_LEAVE ();