minor fix
This commit is contained in:
parent
6c0db93dda
commit
735776fbeb
2 changed files with 4 additions and 4 deletions
|
@ -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);
|
||||
}
|
||||
|
||||
|
|
|
@ -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; }
|
||||
|
|
Loading…
Reference in a new issue