diff options
author | fluxgen <fluxgen> | 2004-01-21 20:00:33 (GMT) |
---|---|---|
committer | fluxgen <fluxgen> | 2004-01-21 20:00:33 (GMT) |
commit | 660b3bddd64ac8463714f037b3e1322f694ccd20 (patch) | |
tree | 2c7946799e322a6398a7ab6832f129cb891eb19f /src | |
parent | d1b45b69c6cd4b446fa1fc989e48b7bc4f5d29b1 (diff) | |
download | fluxbox-660b3bddd64ac8463714f037b3e1322f694ccd20.zip fluxbox-660b3bddd64ac8463714f037b3e1322f694ccd20.tar.bz2 |
const fixes
Diffstat (limited to 'src')
-rw-r--r-- | src/Shape.cc | 6 |
1 files 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 @@ | |||
1 | // Shape.cc | 1 | // Shape.cc |
2 | // Copyright (c) 2003 Henrik Kinnunen (fluxgen(at)users.sourceforge.net) | 2 | // Copyright (c) 2003-2004 Henrik Kinnunen (fluxgen(at)users.sourceforge.net) |
3 | // | 3 | // |
4 | // Permission is hereby granted, free of charge, to any person obtaining a | 4 | // Permission is hereby granted, free of charge, to any person obtaining a |
5 | // copy of this software and associated documentation files (the "Software"), | 5 | // copy of this software and associated documentation files (the "Software"), |
@@ -19,7 +19,7 @@ | |||
19 | // FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER | 19 | // FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER |
20 | // DEALINGS IN THE SOFTWARE. | 20 | // DEALINGS IN THE SOFTWARE. |
21 | 21 | ||
22 | // $Id: Shape.cc,v 1.10 2004/01/21 17:01:27 fluxgen Exp $ | 22 | // $Id: Shape.cc,v 1.11 2004/01/21 20:00:33 fluxgen Exp $ |
23 | 23 | ||
24 | #include "Shape.hh" | 24 | #include "Shape.hh" |
25 | 25 | ||
@@ -41,7 +41,7 @@ using namespace std; | |||
41 | 41 | ||
42 | namespace { | 42 | namespace { |
43 | 43 | ||
44 | FbTk::FbPixmap *createShape(FbTk::FbWindow &win, int place) { | 44 | FbTk::FbPixmap *createShape(const FbTk::FbWindow &win, int place) { |
45 | if (win.window() == 0 || place == 0 || | 45 | if (win.window() == 0 || place == 0 || |
46 | win.width() < 3 || win.height() < 3) | 46 | win.width() < 3 || win.height() < 3) |
47 | return 0; | 47 | return 0; |