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/MenuTheme.cc | |
parent | e742a830adaef45950a12c901ce245d67cc3fdcb (diff) | |
download | fluxbox_pavel-a21d42da3709f5dc5b5510297be134507153ef2c.zip fluxbox_pavel-a21d42da3709f5dc5b5510297be134507153ef2c.tar.bz2 |
fixed gcc4.1 problems, patch from Andreas Bierfert <andreas dot bierfert at lowlatency dot de>
Diffstat (limited to 'src/MenuTheme.cc')
-rw-r--r-- | src/MenuTheme.cc | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/MenuTheme.cc b/src/MenuTheme.cc index fe452da..2bcbf10 100644 --- a/src/MenuTheme.cc +++ b/src/MenuTheme.cc | |||
@@ -26,6 +26,8 @@ | |||
26 | #include <iostream> | 26 | #include <iostream> |
27 | using namespace std; | 27 | using namespace std; |
28 | 28 | ||
29 | namespace FbTk { | ||
30 | |||
29 | template <> | 31 | template <> |
30 | void FbTk::ThemeItem<Shape::ShapePlace>::load(const std::string *name, const std::string *altname) { } | 32 | void FbTk::ThemeItem<Shape::ShapePlace>::load(const std::string *name, const std::string *altname) { } |
31 | 33 | ||
@@ -49,7 +51,7 @@ void FbTk::ThemeItem<Shape::ShapePlace>::setFromString(const char *str) { | |||
49 | 51 | ||
50 | *(*this) = static_cast<Shape::ShapePlace>(places); | 52 | *(*this) = static_cast<Shape::ShapePlace>(places); |
51 | } | 53 | } |
52 | 54 | } // end namespace FbTk | |
53 | MenuTheme::MenuTheme(int screen_num):FbTk::MenuTheme(screen_num), | 55 | MenuTheme::MenuTheme(int screen_num):FbTk::MenuTheme(screen_num), |
54 | m_shapeplace(*this, "menu.roundCorners", "Menu.RoundCorners") { | 56 | m_shapeplace(*this, "menu.roundCorners", "Menu.RoundCorners") { |
55 | *m_shapeplace = Shape::NONE; | 57 | *m_shapeplace = Shape::NONE; |