X-Git-Url: http://review.tizen.org/git/?a=blobdiff_plain;f=pyatspi%2Fimage.py;h=6911692e166239b974c81b6fc2cc19d581361895;hb=bd2d4199d0ae0762930021ee637db9237bb4e928;hp=d113d4c69d63fd3cc78dbef1352ea94acb7a046d;hpb=d4b0723f4b3378f27dc15b76a549a5712673860c;p=platform%2Fcore%2Fuifw%2Fat-spi2-atk.git diff --git a/pyatspi/image.py b/pyatspi/image.py index d113d4c..6911692 100644 --- a/pyatspi/image.py +++ b/pyatspi/image.py @@ -15,7 +15,7 @@ import dbus import interfaces from base import BaseProxy -from factory import add_accessible_class +from factory import accessible_factory from accessible import BoundingBox __all__ = [ @@ -106,7 +106,7 @@ class Image(BaseProxy): """ imageLocale = property(fget=get_imageLocale, fset=set_imageLocale, doc=_imageLocaleDoc) -# ATTENTION - Register the Application class with the accessible factory. -add_accessible_class(interfaces.ATSPI_IMAGE, Image) +# Register the accessible class with the factory. +accessible_factory.register_accessible_class(interfaces.ATSPI_IMAGE, Image) #END----------------------------------------------------------------------------