X-Git-Url: http://git.maemo.org/git/?p=simple-launcher;a=blobdiff_plain;f=gconf-wrapper.cc;h=44bd35e1656955a10abf92e28b32e9a6d3aee7f1;hp=233563a281895328041d1504aae99d2d8596b1ac;hb=a475603e2c1da4e345a4a6cedab5a10802c36e97;hpb=99952fa17de25644d931217d7998e94adc1bbaf9 diff --git a/gconf-wrapper.cc b/gconf-wrapper.cc index 233563a..44bd35e 100644 --- a/gconf-wrapper.cc +++ b/gconf-wrapper.cc @@ -95,7 +95,7 @@ void GConfOption::unsetGConfValue() { } GConfStringOption::GConfStringOption(const GConfKey& key, const std::string& name, const std::string& defaultValue): - GConfOption(GCONF_VALUE_STRING, key, name), + GConfOption(key, name), myDefaultValue(defaultValue) { } @@ -140,7 +140,8 @@ const std::string& GConfStringOption::setValue(const std::string& newValue) { } GConfBooleanOption::GConfBooleanOption(const GConfKey& key, const std::string& name, bool defaultValue): - GConfOption(GCONF_VALUE_BOOL, key, name), + GConfOption(key, name), + myValue(defaultValue), myDefaultValue(defaultValue) { } @@ -185,7 +186,8 @@ bool GConfBooleanOption::setValue(bool newValue) { } GConfIntegerOption::GConfIntegerOption(const GConfKey& key, const std::string& name, int defaultValue): - GConfOption(GCONF_VALUE_INT, key, name), + GConfOption(key, name), + myValue(defaultValue), myDefaultValue(defaultValue) { }