[pyatspi2] Use introspection for the GLib main loop
- From: Mike Gorse <mgorse src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [pyatspi2] Use introspection for the GLib main loop
- Date: Thu, 25 Aug 2011 18:17:15 +0000 (UTC)
commit 1f5201b28d1e71be967ae26ecb4ec290466bb548
Author: Mike Gorse <mgorse novell com>
Date: Thu Aug 25 13:18:00 2011 -0500
Use introspection for the GLib main loop
pyatspi/registry.py | 3 +--
1 files changed, 1 insertions(+), 2 deletions(-)
---
diff --git a/pyatspi/registry.py b/pyatspi/registry.py
index 06cf1b4..fb3ba1e 100644
--- a/pyatspi/registry.py
+++ b/pyatspi/registry.py
@@ -28,7 +28,6 @@ __all__ = ["Registry",
"set_default_registry"]
import os as _os
-import gobject
from gi.repository import Atspi
from gi.repository import GObject
import time
@@ -80,7 +79,7 @@ class Registry(object):
self.app_event_register = None
self.desktop = None
- self.main_loop = gobject.MainLoop()
+ self.main_loop = GObject.MainLoop()
def __call__(self):
"""
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]