diff options
Diffstat (limited to 'engine/python3/factory.py')
-rw-r--r-- | engine/python3/factory.py | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/engine/python3/factory.py b/engine/python3/factory.py index e51faad..4d5cf9f 100644 --- a/engine/python3/factory.py +++ b/engine/python3/factory.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 @@ -24,6 +24,9 @@ import os import sys +from gi import require_version as gi_require_version +gi_require_version('IBus', '1.0') + from gi.repository import IBus import _config as config |