aboutsummaryrefslogtreecommitdiff
path: root/src/IconButton.cc
diff options
context:
space:
mode:
authorfluxgen <fluxgen>2004-01-21 14:14:40 (GMT)
committerfluxgen <fluxgen>2004-01-21 14:14:40 (GMT)
commit5e5118b4e3b283220533aa4845e879150ae705ee (patch)
tree54686f39a478492fe64e56f8fb8cf39a370f22e6 /src/IconButton.cc
parent9c0272004e2509a2206d94dfbe30bb035c8c6d67 (diff)
downloadfluxbox-5e5118b4e3b283220533aa4845e879150ae705ee.zip
fluxbox-5e5118b4e3b283220533aa4845e879150ae705ee.tar.bz2
using empty instead of size
Diffstat (limited to 'src/IconButton.cc')
-rw-r--r--src/IconButton.cc4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/IconButton.cc b/src/IconButton.cc
index 2ee169f..a994b7d 100644
--- a/src/IconButton.cc
+++ b/src/IconButton.cc
@@ -20,7 +20,7 @@
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: IconButton.cc,v 1.16 2004/01/16 09:32:44 fluxgen Exp $ 23// $Id: IconButton.cc,v 1.17 2004/01/21 14:13:32 fluxgen Exp $
24 24
25#include "IconButton.hh" 25#include "IconButton.hh"
26 26
@@ -161,7 +161,7 @@ void IconButton::update(FbTk::Subject *subj) {
161 // so we refresh everything 161 // so we refresh everything
162 162
163 // we need to check our client first 163 // we need to check our client first
164 if (m_win.clientList().size() == 0) 164 if (m_win.clientList().empty())
165 return; 165 return;
166 166
167 XWMHints *hints = XGetWMHints(FbTk::App::instance()->display(), m_win.winClient().window()); 167 XWMHints *hints = XGetWMHints(FbTk::App::instance()->display(), m_win.winClient().window());