diff options
author | Peng Wu <alexepico@gmail.com> | 2018-02-27 16:03:10 +0800 |
---|---|---|
committer | Peng Wu <alexepico@gmail.com> | 2018-02-27 16:03:10 +0800 |
commit | 3c25d39c4d9ca273b62e28ce9ce59f163c4cc161 (patch) | |
tree | 8c2787f8ed864752bdeb44032d3f51adaee024e3 /src/ZYConfig.cc | |
parent | 25b9f6cae85a17313aaff9b7ff21e7e40a586f19 (diff) | |
download | ibus-libzhuyin-devel.tar.gz ibus-libzhuyin-devel.tar.xz ibus-libzhuyin-devel.zip |
fixes compiledevel
Diffstat (limited to 'src/ZYConfig.cc')
-rw-r--r-- | src/ZYConfig.cc | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/ZYConfig.cc b/src/ZYConfig.cc index 5467073..a1e40f3 100644 --- a/src/ZYConfig.cc +++ b/src/ZYConfig.cc @@ -64,7 +64,7 @@ Config::readDefaultValues (void) { } -inline bool +bool Config::read (const gchar * name, bool defval) { @@ -78,7 +78,7 @@ Config::read (const gchar * name, return defval; } -inline gint +gint Config::read (const gchar * name, gint defval) { @@ -92,9 +92,9 @@ Config::read (const gchar * name, return defval; } -inline std::string +std::string Config::read (const gchar * name, - const gchar * defval) + const std::string &defval) { GVariant *value = NULL; if ((value = g_settings_get_value (m_settings, name)) != NULL) { |