diff options
author | Peng Wu <alexepico@gmail.com> | 2014-04-23 16:27:22 +0800 |
---|---|---|
committer | Peng Wu <alexepico@gmail.com> | 2014-04-23 16:27:22 +0800 |
commit | f31155bf3ebadac7c4124009e8b571c1778f3692 (patch) | |
tree | edb610db1ecd7f27a7f25e810ee5bd65298559bb /src/PYLibPinyin.cc | |
parent | 8d553e0c189d65a935fd5169f06b3a2e0380b013 (diff) | |
download | ibus-libpinyin-f31155bf3ebadac7c4124009e8b571c1778f3692.tar.gz ibus-libpinyin-f31155bf3ebadac7c4124009e8b571c1778f3692.tar.xz ibus-libpinyin-f31155bf3ebadac7c4124009e8b571c1778f3692.zip |
format code
Diffstat (limited to 'src/PYLibPinyin.cc')
-rw-r--r-- | src/PYLibPinyin.cc | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/PYLibPinyin.cc b/src/PYLibPinyin.cc index eb88e16..99b11bd 100644 --- a/src/PYLibPinyin.cc +++ b/src/PYLibPinyin.cc @@ -35,7 +35,7 @@ static LibPinyinBackEnd libpinyin_backend; LibPinyinBackEnd::LibPinyinBackEnd () { m_timeout_id = 0; - m_timer = g_timer_new(); + m_timer = g_timer_new (); m_pinyin_context = NULL; m_chewing_context = NULL; } @@ -64,7 +64,7 @@ LibPinyinBackEnd::initPinyinContext (Config *config) "ibus", "libpinyin", NULL); int retval = g_mkdir_with_parents (userdir, 0700); if (retval) { - g_free(userdir); userdir = NULL; + g_free (userdir); userdir = NULL; } context = pinyin_init (LIBPINYIN_DATADIR, userdir); g_free (userdir); |