diff options
Diffstat (limited to 'engine/python2/engine.py')
-rw-r--r-- | engine/python2/engine.py | 9 |
1 files changed, 7 insertions, 2 deletions
diff --git a/engine/python2/engine.py b/engine/python2/engine.py index fd1dc00..6a3fa6e 100644 --- a/engine/python2/engine.py +++ b/engine/python2/engine.py @@ -4,8 +4,8 @@ # ibus-anthy - The Anthy engine for IBus # # Copyright (c) 2007-2008 Peng Huang <shawn.p.huang@gmail.com> -# Copyright (c) 2010-2015 Takao Fujiwara <takao.fujiwara1@gmail.com> -# Copyright (c) 2007-2015 Red Hat, Inc. +# Copyright (c) 2010-2016 Takao Fujiwara <takao.fujiwara1@gmail.com> +# Copyright (c) 2007-2016 Red Hat, Inc. # # This program is free software; you can redistribute it and/or modify # it under the terms of the GNU General Public License as published by @@ -35,6 +35,11 @@ try: except: pass +from gi import require_version as gi_require_version +gi_require_version('GLib', '2.0') +gi_require_version('IBus', '1.0') +gi_require_version('Anthy', '9000') + from gi.repository import GLib from gi.repository import IBus |