aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authormarkt <markt>2007-12-02 03:11:28 (GMT)
committermarkt <markt>2007-12-02 03:11:28 (GMT)
commitd29a3ec59026860530a61e88132e43c4e25ad7e5 (patch)
treefb816a27bbfff7e996905d2e5487f7a9794b1d56
parente30f235daf6993631a0a3ec32cce1e16ec791441 (diff)
downloadfluxbox-d29a3ec59026860530a61e88132e43c4e25ad7e5.zip
fluxbox-d29a3ec59026860530a61e88132e43c4e25ad7e5.tar.bz2
make sure subj != 0 in IconbarTool::update()
-rw-r--r--src/IconbarTool.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/IconbarTool.cc b/src/IconbarTool.cc
index 1a4e87c..625d358 100644
--- a/src/IconbarTool.cc
+++ b/src/IconbarTool.cc
@@ -411,7 +411,7 @@ void IconbarTool::update(FbTk::Subject *subj) {
411 // lock graphic update 411 // lock graphic update
412 m_icon_container.setUpdateLock(true); 412 m_icon_container.setUpdateLock(true);
413 413
414 if (typeid(*subj) == typeid(FocusableList::FocusableListSubject)) { 414 if (subj && typeid(*subj) == typeid(FocusableList::FocusableListSubject)) {
415 FocusableList::FocusableListSubject *fsubj = 415 FocusableList::FocusableListSubject *fsubj =
416 static_cast<FocusableList::FocusableListSubject *>(subj); 416 static_cast<FocusableList::FocusableListSubject *>(subj);
417 if (subj == &m_winlist->addSig()) 417 if (subj == &m_winlist->addSig())