X-Git-Url: http://review.tizen.org/git/?a=blobdiff_plain;f=pyatspi%2Fcollection.py;h=e9aed2bfb997b18ef9be1a417d394ffcbf79594a;hb=bd2d4199d0ae0762930021ee637db9237bb4e928;hp=2a8e66f719bbdcb1db009c8aa12c4d8e0494dc12;hpb=d4b0723f4b3378f27dc15b76a549a5712673860c;p=platform%2Fcore%2Fuifw%2Fat-spi2-atk.git diff --git a/pyatspi/collection.py b/pyatspi/collection.py index 2a8e66f..e9aed2b 100644 --- a/pyatspi/collection.py +++ b/pyatspi/collection.py @@ -14,7 +14,7 @@ import interfaces from base import BaseProxy, Enum -from factory import add_accessible_class +from factory import accessible_factory __all__ = [ "Collection", @@ -103,7 +103,7 @@ class Collection(BaseProxy): TREE_RESTRICT_CHILDREN = TreeTraversalType(0) TREE_RESTRICT_SIBLING = TreeTraversalType(1) -# ATTENTION - Register the Application class with the accessible factory. -add_accessible_class(interfaces.ATSPI_COLLECTION, Collection) +# Register the accessible class with the factory. +accessible_factory.register_accessible_class(interfaces.ATSPI_COLLECTION, Collection) #END----------------------------------------------------------------------------