aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/Container.cc6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/Container.cc b/src/Container.cc
index 5b985eb..3eda052 100644
--- a/src/Container.cc
+++ b/src/Container.cc
@@ -20,11 +20,11 @@
20// FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER 20// FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
21// DEALINGS IN THE SOFTWARE. 21// DEALINGS IN THE SOFTWARE.
22 22
23// $Id: Container.cc,v 1.5 2003/10/09 16:48:09 rathnor Exp $ 23// $Id: Container.cc,v 1.6 2003/10/26 21:05:03 fluxgen Exp $
24 24
25#include "FbTk/Button.hh"
26#include "Container.hh" 25#include "Container.hh"
27 26
27#include "FbTk/Button.hh"
28#include "FbTk/EventManager.hh" 28#include "FbTk/EventManager.hh"
29 29
30Container::Container(const FbTk::FbWindow &parent): 30Container::Container(const FbTk::FbWindow &parent):
@@ -190,5 +190,5 @@ void Container::repositionItems() {
190 190
191 191
192unsigned int Container::maxWidthPerClient() const { 192unsigned int Container::maxWidthPerClient() const {
193 return (size() == 0 ? width() : (width() + size()*m_item_list.front()->borderWidth())/size()); 193 return (size() == 0 ? width() : (width() + size()*m_item_list.front()->borderWidth())/size());
194} 194}