Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
View | Details | Raw Unified | Return to bug 130825
Collapse All | Expand All

(-)src/FbDesk.cc.org (-2 / +4 lines)
Lines 43-48 Link Here
43
using namespace std;
43
using namespace std;
44
using namespace FbTk;
44
using namespace FbTk;
45
45
46
namespace FbTk {
47
46
template <>
48
template <>
47
void Resource<int>::setFromString(const char *str) {
49
void Resource<int>::setFromString(const char *str) {
48
    sscanf(str, "%d", &*(*this));
50
    sscanf(str, "%d", &*(*this));
Lines 65-72 Link Here
65
    return (*this)->c_str();
67
    return (*this)->c_str();
66
}
68
}
67
69
68
69
70
template <>
70
template <>
71
std::string Resource<FbDesk::Icon::TextPlacement>::getString() {
71
std::string Resource<FbDesk::Icon::TextPlacement>::getString() {
72
    switch (*(*this)) {
72
    switch (*(*this)) {
Lines 97-102 Link Here
97
        *(*this) = FbDesk::Icon::TEXTPLACE_BOTTOM;
97
        *(*this) = FbDesk::Icon::TEXTPLACE_BOTTOM;
98
}
98
}
99
99
100
}
101
100
namespace FbDesk {
102
namespace FbDesk {
101
103
102
FbDesk::FbDesk(const char *config_filename):
104
FbDesk::FbDesk(const char *config_filename):

Return to bug 130825