diff options
author | mathias <mathias> | 2006-03-02 07:49:13 (GMT) |
---|---|---|
committer | mathias <mathias> | 2006-03-02 07:49:13 (GMT) |
commit | a21d42da3709f5dc5b5510297be134507153ef2c (patch) | |
tree | b40b05154c33f8a05191c9b46ece0ed6737e6506 /src/Slit.cc | |
parent | e742a830adaef45950a12c901ce245d67cc3fdcb (diff) | |
download | fluxbox-a21d42da3709f5dc5b5510297be134507153ef2c.zip fluxbox-a21d42da3709f5dc5b5510297be134507153ef2c.tar.bz2 |
fixed gcc4.1 problems, patch from Andreas Bierfert <andreas dot bierfert at lowlatency dot de>
Diffstat (limited to 'src/Slit.cc')
-rw-r--r-- | src/Slit.cc | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/Slit.cc b/src/Slit.cc index fd4e2cf..d2fbcd5 100644 --- a/src/Slit.cc +++ b/src/Slit.cc | |||
@@ -85,6 +85,8 @@ | |||
85 | #include <algorithm> | 85 | #include <algorithm> |
86 | using namespace std; | 86 | using namespace std; |
87 | 87 | ||
88 | namespace FbTk { | ||
89 | |||
88 | template<> | 90 | template<> |
89 | void FbTk::Resource<Slit::Placement>::setFromString(const char *strval) { | 91 | void FbTk::Resource<Slit::Placement>::setFromString(const char *strval) { |
90 | if (strcasecmp(strval, "TopLeft")==0) | 92 | if (strcasecmp(strval, "TopLeft")==0) |
@@ -164,7 +166,7 @@ string FbTk::Resource<Slit::Direction>::getString() const { | |||
164 | // default string | 166 | // default string |
165 | return string("Vertical"); | 167 | return string("Vertical"); |
166 | } | 168 | } |
167 | 169 | } // end namespace FbTk | |
168 | namespace { | 170 | namespace { |
169 | 171 | ||
170 | class SlitClientMenuItem: public FbTk::MenuItem{ | 172 | class SlitClientMenuItem: public FbTk::MenuItem{ |