From 10523692d670790b410e58f7673c0a8d4131aa10 Mon Sep 17 00:00:00 2001 From: fluxgen Date: Tue, 29 Oct 2002 16:24:54 +0000 Subject: const fixes --- src/Window.cc | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/src/Window.cc b/src/Window.cc index 37b7757..162ecd4 100644 --- a/src/Window.cc +++ b/src/Window.cc @@ -22,7 +22,7 @@ // FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER // DEALINGS IN THE SOFTWARE. -// $Id: Window.cc,v 1.95 2002/10/25 21:01:49 fluxgen Exp $ +// $Id: Window.cc,v 1.96 2002/10/29 16:24:54 fluxgen Exp $ #include "Window.hh" @@ -2956,7 +2956,7 @@ void FluxboxWindow::motionNotifyEvent(XMotionEvent *me) { default: dtty = 0; - dbby = screen->getToolbar()->getY(); + dbby = screen->getToolbar()->y(); break; } @@ -3339,9 +3339,9 @@ void FluxboxWindow::stopResizing(Window win) { //finds and redraw the icon label void FluxboxWindow::updateIcon() { if (Fluxbox::instance()->useIconBar()) { - IconBar *iconbar = 0; - IconBarObj *icon = 0; - if ((iconbar = screen->getToolbar()->getIconBar()) != 0) { + const IconBar *iconbar = 0; + const IconBarObj *icon = 0; + if ((iconbar = screen->getToolbar()->iconBar()) != 0) { if ((icon = iconbar->findIcon(this)) != 0) iconbar->draw(icon, icon->width()); } -- cgit v0.11.2