pyspi [Bug 657160] New: pyatspi 2.1.5 imports gobject and gi.gobject



https://bugzilla.gnome.org/show_bug.cgi?id=657160
  pyspi | general | unspecified

           Summary: pyatspi 2.1.5 imports gobject and gi.gobject
    Classification: Other
           Product: pyspi
           Version: unspecified
        OS/Version: Windows
            Status: UNCONFIRMED
          Severity: normal
          Priority: Normal
         Component: general
        AssignedTo: pyspi-maint gnome bugs
        ReportedBy: dominique-gnomezilla leuenberger net
         QAContact: pyspi-maint gnome bugs
     GNOME version: ---


Current release of pyatspi import gobject and gi-version of gobject in
registry.py, which is not supported IIRC.

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):
                 """


Should fix that issue.

-- 
Configure bugmail: https://bugzilla.gnome.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are watching the QA contact of the bug.
You are watching the assignee of the bug.


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]