summaryrefslogtreecommitdiff
path: root/engine
diff options
context:
space:
mode:
authorfujiwarat <takao.fujiwara1@gmail.com>2019-04-12 19:47:38 +0900
committerfujiwarat <takao.fujiwara1@gmail.com>2019-04-12 19:47:38 +0900
commitcaeaf0b198eae7c897ae070e0cacf25fb85c51e4 (patch)
tree3fb3f763019d76ba15d45fcad03b639471ebc8a9 /engine
parent3a3135b1608652ab8db34d499a6baa52601981cc (diff)
downloadibus-anthy-caeaf0b198eae7c897ae070e0cacf25fb85c51e4.tar.gz
gir: Add Anthy.GContext.set_logger()
Diffstat (limited to 'engine')
-rw-r--r--engine/python2/engine.py1
-rw-r--r--engine/python3/engine.py1
2 files changed, 2 insertions, 0 deletions
diff --git a/engine/python2/engine.py b/engine/python2/engine.py
index 27b9e90..4798504 100644
--- a/engine/python2/engine.py
+++ b/engine/python2/engine.py
@@ -135,6 +135,7 @@ class Engine(IBus.EngineSimple):
# create anthy context
if not self.__verify_anthy_journal_file():
return
+ Anthy.GContext.set_logger(0);
self.__context = Anthy.GContext()
self.__context.set_encoding(Anthy.UTF8_ENCODING)
diff --git a/engine/python3/engine.py b/engine/python3/engine.py
index 6041860..27f19c2 100644
--- a/engine/python3/engine.py
+++ b/engine/python3/engine.py
@@ -136,6 +136,7 @@ class Engine(IBus.EngineSimple):
# create anthy context
if not self.__verify_anthy_journal_file():
return
+ Anthy.GContext.set_logger(0);
self.__context = Anthy.GContext()
self.__context.set_encoding(Anthy.UTF8_ENCODING)