diff options
Diffstat (limited to 'src/Container.hh')
-rw-r--r-- | src/Container.hh | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/Container.hh b/src/Container.hh index 3b05385..d6c34ed 100644 --- a/src/Container.hh +++ b/src/Container.hh | |||
@@ -69,7 +69,7 @@ public: | |||
69 | inline Alignment alignment() const { return m_align; } | 69 | inline Alignment alignment() const { return m_align; } |
70 | inline int size() const { return m_item_list.size(); } | 70 | inline int size() const { return m_item_list.size(); } |
71 | inline bool empty() const { return m_item_list.empty(); } | 71 | inline bool empty() const { return m_item_list.empty(); } |
72 | inline const Item selected() const { return m_selected; } | 72 | inline const Item& selected() const { return m_selected; } |
73 | inline Item selected() { return m_selected; } | 73 | inline Item selected() { return m_selected; } |
74 | unsigned int maxWidthPerClient() const; | 74 | unsigned int maxWidthPerClient() const; |
75 | inline unsigned int maxHeightPerClient() const { return (empty() ? height() : height()/size()); } | 75 | inline unsigned int maxHeightPerClient() const { return (empty() ? height() : height()/size()); } |