diff options
Diffstat (limited to 'src/Window.cc')
-rw-r--r-- | src/Window.cc | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/Window.cc b/src/Window.cc index d148cdc..0e256d1 100644 --- a/src/Window.cc +++ b/src/Window.cc | |||
@@ -22,7 +22,7 @@ | |||
22 | // FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER | 22 | // FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER |
23 | // DEALINGS IN THE SOFTWARE. | 23 | // DEALINGS IN THE SOFTWARE. |
24 | 24 | ||
25 | // $Id: Window.cc,v 1.150 2003/04/27 02:26:21 rathnor Exp $ | 25 | // $Id: Window.cc,v 1.151 2003/04/27 04:28:03 rathnor Exp $ |
26 | 26 | ||
27 | #include "Window.hh" | 27 | #include "Window.hh" |
28 | 28 | ||
@@ -2899,7 +2899,7 @@ void FluxboxWindow::attachTo(int x, int y) { | |||
2899 | 2899 | ||
2900 | //finds and redraw the icon label | 2900 | //finds and redraw the icon label |
2901 | void FluxboxWindow::updateIcon() { | 2901 | void FluxboxWindow::updateIcon() { |
2902 | if (Fluxbox::instance()->useIconBar()) { | 2902 | if (screen.getToolbar()) { |
2903 | const IconBar *iconbar = 0; | 2903 | const IconBar *iconbar = 0; |
2904 | const IconBarObj *icon = 0; | 2904 | const IconBarObj *icon = 0; |
2905 | if ((iconbar = screen.getToolbar()->iconBar()) != 0) { | 2905 | if ((iconbar = screen.getToolbar()->iconBar()) != 0) { |