diff options
author | fluxgen <fluxgen> | 2005-11-22 21:09:14 (GMT) |
---|---|---|
committer | fluxgen <fluxgen> | 2005-11-22 21:09:14 (GMT) |
commit | f7cfa81bbb1f488899905731f9b72a9cce7d8c83 (patch) | |
tree | c56d23e938814dcdf917197f09bd22e5cf4094e3 /src/Slit.cc | |
parent | be1cbd46909e678bbd71f3a590e36c3077cb2960 (diff) | |
download | fluxbox-f7cfa81bbb1f488899905731f9b72a9cce7d8c83.zip fluxbox-f7cfa81bbb1f488899905731f9b72a9cce7d8c83.tar.bz2 |
const function Resource getString
Diffstat (limited to 'src/Slit.cc')
-rw-r--r-- | src/Slit.cc | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/Slit.cc b/src/Slit.cc index 6656dec..a5840e6 100644 --- a/src/Slit.cc +++ b/src/Slit.cc | |||
@@ -115,7 +115,7 @@ void FbTk::Resource<Slit::Direction>::setFromString(const char *strval) { | |||
115 | } | 115 | } |
116 | 116 | ||
117 | template<> | 117 | template<> |
118 | string FbTk::Resource<Slit::Placement>::getString() { | 118 | string FbTk::Resource<Slit::Placement>::getString() const { |
119 | switch (m_value) { | 119 | switch (m_value) { |
120 | case Slit::TOPLEFT: | 120 | case Slit::TOPLEFT: |
121 | return string("TopLeft"); | 121 | return string("TopLeft"); |
@@ -147,7 +147,7 @@ string FbTk::Resource<Slit::Placement>::getString() { | |||
147 | } | 147 | } |
148 | 148 | ||
149 | template<> | 149 | template<> |
150 | string FbTk::Resource<Slit::Direction>::getString() { | 150 | string FbTk::Resource<Slit::Direction>::getString() const { |
151 | switch (m_value) { | 151 | switch (m_value) { |
152 | case Slit::VERTICAL: | 152 | case Slit::VERTICAL: |
153 | return string("Vertical"); | 153 | return string("Vertical"); |