From 143be7a2d1858b5985ceffdd42a0e7fe7391d2d7 Mon Sep 17 00:00:00 2001 From: fluxgen Date: Tue, 15 Apr 2003 12:15:44 +0000 Subject: minor iconbar constructor fix --- src/Toolbar.cc | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/Toolbar.cc b/src/Toolbar.cc index cd05164..8f9d2d5 100644 --- a/src/Toolbar.cc +++ b/src/Toolbar.cc @@ -22,7 +22,7 @@ // FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER // DEALINGS IN THE SOFTWARE. -// $Id: Toolbar.cc,v 1.69 2003/04/14 14:53:56 fluxgen Exp $ +// $Id: Toolbar.cc,v 1.70 2003/04/15 12:15:44 fluxgen Exp $ #include "Toolbar.hh" @@ -271,7 +271,7 @@ Toolbar::Toolbar(BScreen &scrn, FbTk::XLayer &layer, FbTk::Menu &menu, size_t wi //DEL/fix -> remove useIconBar resource // if (Fluxbox::instance()->useIconBar()) - m_iconbar.reset(new IconBar(&screen(), frame.window_label.window(), m_theme.font())); + m_iconbar.reset(new IconBar(screen(), frame.window_label.window(), m_theme.font())); XMapSubwindows(display, frame.window.window()); @@ -349,7 +349,7 @@ void Toolbar::enableIconBar() { // already on if (m_iconbar.get() != 0) return; - m_iconbar.reset(new IconBar(&screen(), frame.window_label.window(), m_theme.font())); + m_iconbar.reset(new IconBar(screen(), frame.window_label.window(), m_theme.font())); } void Toolbar::disableIconBar() { -- cgit v0.11.2