From 660b3bddd64ac8463714f037b3e1322f694ccd20 Mon Sep 17 00:00:00 2001 From: fluxgen Date: Wed, 21 Jan 2004 20:00:33 +0000 Subject: const fixes --- src/Shape.cc | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/Shape.cc b/src/Shape.cc index dda869c..9013cf7 100644 --- a/src/Shape.cc +++ b/src/Shape.cc @@ -1,5 +1,5 @@ // Shape.cc -// Copyright (c) 2003 Henrik Kinnunen (fluxgen(at)users.sourceforge.net) +// Copyright (c) 2003-2004 Henrik Kinnunen (fluxgen(at)users.sourceforge.net) // // Permission is hereby granted, free of charge, to any person obtaining a // copy of this software and associated documentation files (the "Software"), @@ -19,7 +19,7 @@ // FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER // DEALINGS IN THE SOFTWARE. -// $Id: Shape.cc,v 1.10 2004/01/21 17:01:27 fluxgen Exp $ +// $Id: Shape.cc,v 1.11 2004/01/21 20:00:33 fluxgen Exp $ #include "Shape.hh" @@ -41,7 +41,7 @@ using namespace std; namespace { -FbTk::FbPixmap *createShape(FbTk::FbWindow &win, int place) { +FbTk::FbPixmap *createShape(const FbTk::FbWindow &win, int place) { if (win.window() == 0 || place == 0 || win.width() < 3 || win.height() < 3) return 0; -- cgit v0.11.2