summaryrefslogtreecommitdiff
path: root/setup
diff options
context:
space:
mode:
authorfujiwarat <takao.fujiwara1@gmail.com>2013-03-14 17:43:22 +0900
committerfujiwarat <takao.fujiwara1@gmail.com>2013-03-14 17:43:22 +0900
commita0066d98c5340bcfa202beaf967702a74484a122 (patch)
tree5baead9058df501959b8f750210fc450b75c29a5 /setup
parent18415352643a88e4609d466eb0ba00739b3b5f87 (diff)
downloadibus-anthy-a0066d98c5340bcfa202beaf967702a74484a122.tar.gz
Removed deprecated GObject.
Diffstat (limited to 'setup')
-rw-r--r--setup/main.py6
1 files changed, 3 insertions, 3 deletions
diff --git a/setup/main.py b/setup/main.py
index 338ad15..12e975e 100644
--- a/setup/main.py
+++ b/setup/main.py
@@ -33,10 +33,10 @@ try:
except:
getpreferredencoding = None
+from gi.repository import GLib
from gi.repository import Gtk
from gi.repository import Gdk
from gi.repository import GdkX11
-from gi.repository import GObject
from gi.repository import Pango
from gi.repository import IBus
@@ -195,8 +195,8 @@ class AnthySetup(object):
tv.set_model(ls)
self.__keymap = None
- GObject.idle_add(self.__update_keymap_label,
- priority = GObject.PRIORITY_LOW)
+ GLib.idle_add(self.__update_keymap_label,
+ priority = GLib.PRIORITY_LOW)
self.__thumb_kb_layout_mode = builder.get_object('thumb:keyboard_layout_mode')
self.__thumb_kb_layout = builder.get_object('thumb:keyboard_layout')