From accb8c3fa34b67ff59ecc2ea791eb10e1dcb90fc Mon Sep 17 00:00:00 2001 From: Mathias Gumz Date: Thu, 13 Jan 2011 16:27:53 +0100 Subject: compile fix: missing symbol (SystemTray::getNetSystemTray()) when configured --disable-toolbar --- src/Screen.cc | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/src/Screen.cc b/src/Screen.cc index 9ec7130..9bf9711 100644 --- a/src/Screen.cc +++ b/src/Screen.cc @@ -1209,7 +1209,10 @@ bool BScreen::addKdeDockapp(Window client) { FbTk::EventHandler *evh = 0; FbTk::EventManager *evm = FbTk::EventManager::instance(); - AtomHandler *handler = Fluxbox::instance()->getAtomHandler(SystemTray::getNetSystemTrayAtom(screenNumber())); + AtomHandler* handler = 0; +#if USE_TOOLBAR + handler = Fluxbox::instance()->getAtomHandler(SystemTray::getNetSystemTrayAtom(screenNumber())); +#endif if (handler == 0) { #ifdef SLIT if (slit() != 0 && slit()->acceptKdeDockapp()) -- cgit v0.11.2