summaryrefslogtreecommitdiffstats
path: root/src/ZYConfig.cc
diff options
context:
space:
mode:
authorPeng Wu <alexepico@gmail.com>2018-02-27 16:03:10 +0800
committerPeng Wu <alexepico@gmail.com>2018-02-27 16:03:10 +0800
commit3c25d39c4d9ca273b62e28ce9ce59f163c4cc161 (patch)
tree8c2787f8ed864752bdeb44032d3f51adaee024e3 /src/ZYConfig.cc
parent25b9f6cae85a17313aaff9b7ff21e7e40a586f19 (diff)
downloadibus-libzhuyin-3c25d39c4d9ca273b62e28ce9ce59f163c4cc161.tar.gz
ibus-libzhuyin-3c25d39c4d9ca273b62e28ce9ce59f163c4cc161.tar.xz
ibus-libzhuyin-3c25d39c4d9ca273b62e28ce9ce59f163c4cc161.zip
fixes compiledevel
Diffstat (limited to 'src/ZYConfig.cc')
-rw-r--r--src/ZYConfig.cc8
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) {