From d29a3ec59026860530a61e88132e43c4e25ad7e5 Mon Sep 17 00:00:00 2001 From: markt Date: Sun, 2 Dec 2007 03:11:28 +0000 Subject: make sure subj != 0 in IconbarTool::update() --- src/IconbarTool.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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) { // lock graphic update m_icon_container.setUpdateLock(true); - if (typeid(*subj) == typeid(FocusableList::FocusableListSubject)) { + if (subj && typeid(*subj) == typeid(FocusableList::FocusableListSubject)) { FocusableList::FocusableListSubject *fsubj = static_cast(subj); if (subj == &m_winlist->addSig()) -- cgit v0.11.2