From 735776fbeb0d8818f45ff8f0b4928c9315ad682c Mon Sep 17 00:00:00 2001
From: fluxgen <fluxgen>
Date: Wed, 11 Jun 2003 14:51:22 +0000
Subject: minor fix

---
 src/Toolbar.cc | 4 ++--
 src/Toolbar.hh | 4 ++--
 2 files changed, 4 insertions(+), 4 deletions(-)

diff --git a/src/Toolbar.cc b/src/Toolbar.cc
index 4c954c4..038532b 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.88 2003/05/24 13:13:22 rathnor Exp $
+// $Id: Toolbar.cc,v 1.89 2003/06/11 14:51:22 fluxgen Exp $
 
 #include "Toolbar.hh"
 
@@ -381,7 +381,7 @@ void Toolbar::delAllIcons() {
     delete deleted;
 }
     
-bool Toolbar::containsIcon(FluxboxWindow &win) {
+bool Toolbar::containsIcon(const FluxboxWindow &win) const {
     return (m_iconbar->findIcon(&win) != 0);
 }
 
diff --git a/src/Toolbar.hh b/src/Toolbar.hh
index 4349ea7..a1c5c50 100644
--- a/src/Toolbar.hh
+++ b/src/Toolbar.hh
@@ -22,7 +22,7 @@
 // FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
 // DEALINGS IN THE SOFTWARE.
 
-// $Id: Toolbar.hh,v 1.31 2003/05/15 11:17:27 fluxgen Exp $
+// $Id: Toolbar.hh,v 1.32 2003/06/11 14:50:57 fluxgen Exp $
 
 #ifndef	 TOOLBAR_HH
 #define	 TOOLBAR_HH
@@ -72,11 +72,11 @@ public:
     void delIcon(FluxboxWindow *w);
     /// remove all icons
     void delAllIcons();
-    bool containsIcon(FluxboxWindow &win);
 
     void enableIconBar();
     void disableIconBar();
 
+    bool containsIcon(const FluxboxWindow &win) const;
     inline const FbTk::Menu &menu() const { return m_toolbarmenu; }
     inline FbTk::Menu &menu() { return m_toolbarmenu; }
     inline FbTk::Menu &placementMenu() { return m_placementmenu; }
-- 
cgit v0.11.2