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/ZYZConfig.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/ZYZConfig.cc')
-rw-r--r-- | src/ZYZConfig.cc | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/ZYZConfig.cc b/src/ZYZConfig.cc index 1579fec..090eb92 100644 --- a/src/ZYZConfig.cc +++ b/src/ZYZConfig.cc @@ -155,7 +155,7 @@ static const struct { void ZhuyinConfig::readDefaultValues (void) { -#if defined(HAVE_IBUS_CONFIG_GET_VALUES) +#if USE_G_SETTINGS_LIST_CHILDREN /* read all values together */ initDefaultValues (); gchar **keys = g_settings_list_children (m_settings); @@ -234,7 +234,7 @@ ZhuyinConfig::readDefaultValues (void) /* read values */ for (guint i = 0; i < G_N_ELEMENTS (fuzzy_zhuyin_options); i++) { if (read (fuzzy_zhuyin_options[i].name, - (fuzzy_zhuyin_options[i].option & PINYIN_DEFAULT_OPTION) != 0)) { + (fuzzy_zhuyin_options[i].option & ZHUYIN_DEFAULT_OPTION) != 0)) { m_option |= fuzzy_zhuyin_options[i].option; } else { |