aboutsummaryrefslogtreecommitdiff
path: root/src/IconbarTool.cc
diff options
context:
space:
mode:
Diffstat (limited to 'src/IconbarTool.cc')
-rw-r--r--src/IconbarTool.cc5
1 files changed, 2 insertions, 3 deletions
diff --git a/src/IconbarTool.cc b/src/IconbarTool.cc
index 7cd7b8e..a5cd936 100644
--- a/src/IconbarTool.cc
+++ b/src/IconbarTool.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: IconbarTool.cc,v 1.11 2003/09/10 11:17:53 fluxgen Exp $ 23// $Id: IconbarTool.cc,v 1.12 2003/09/15 20:19:36 fluxgen Exp $
24 24
25#include "IconbarTool.hh" 25#include "IconbarTool.hh"
26 26
@@ -194,7 +194,6 @@ IconbarTool::IconbarTool(const FbTk::FbWindow &parent, IconbarTheme &theme, BScr
194 screen.currentWorkspaceSig().attach(this); 194 screen.currentWorkspaceSig().attach(this);
195 195
196 update(0); 196 update(0);
197
198} 197}
199 198
200IconbarTool::~IconbarTool() { 199IconbarTool::~IconbarTool() {
@@ -287,7 +286,7 @@ void IconbarTool::update(FbTk::Subject *subj) {
287 return; 286 return;
288 287
289 if (mode() == NONE) { 288 if (mode() == NONE) {
290 if (typeid(*subj) == typeid(FbTk::Theme)) 289 if (subj != 0 && typeid(*subj) == typeid(IconbarTheme))
291 renderTheme(); 290 renderTheme();
292 291
293 return; 292 return;