X-Git-Url: http://review.tizen.org/git/?a=blobdiff_plain;f=pyatspi%2Frelation.py;h=4be931785b53455e15c75dbec6c834d314f45f62;hb=1889d0741dab87cb6a46246a1ebd8267f72ad148;hp=c9639666cabba7dd14bec6f39e717530e9cd497a;hpb=77e0f05b669f34a8ff16311269e356018f8ee216;p=platform%2Fcore%2Fuifw%2Fat-spi2-atk.git diff --git a/pyatspi/relation.py b/pyatspi/relation.py index c963966..4be9317 100644 --- a/pyatspi/relation.py +++ b/pyatspi/relation.py @@ -21,7 +21,6 @@ import interfaces from base import Enum as _Enum -from factory import create_accessible #------------------------------------------------------------------------------ @@ -131,10 +130,8 @@ class Relation(object): e.g. the Object at index i in the list of Objects having the specified relationship to this Accessible. """ - return create_accessible(self._cache, - self._app_name, - self._objects[index], - interfaces.ATSPI_ACCESSIBLE, - connection=self._cache._connection) + return self._cache.create_accessible(self._app_name, + self._objects[index], + interfaces.ATSPI_ACCESSIBLE) #END----------------------------------------------------------------------------