aboutsummaryrefslogtreecommitdiff
path: root/src/Slit.cc
diff options
context:
space:
mode:
authormathias <mathias>2006-03-02 07:49:13 (GMT)
committermathias <mathias>2006-03-02 07:49:13 (GMT)
commita21d42da3709f5dc5b5510297be134507153ef2c (patch)
treeb40b05154c33f8a05191c9b46ece0ed6737e6506 /src/Slit.cc
parente742a830adaef45950a12c901ce245d67cc3fdcb (diff)
downloadfluxbox-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.cc4
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>
86using namespace std; 86using namespace std;
87 87
88namespace FbTk {
89
88template<> 90template<>
89void FbTk::Resource<Slit::Placement>::setFromString(const char *strval) { 91void 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
168namespace { 170namespace {
169 171
170class SlitClientMenuItem: public FbTk::MenuItem{ 172class SlitClientMenuItem: public FbTk::MenuItem{