X-Git-Url: http://review.tizen.org/git/?a=blobdiff_plain;f=pyatspi%2Fhypertext.py;h=f8e428e5aea415c5e91203b760ed670ba81e2027;hb=bd2d4199d0ae0762930021ee637db9237bb4e928;hp=440f22723335aca9188be4a104471880eeb9318d;hpb=d4b0723f4b3378f27dc15b76a549a5712673860c;p=platform%2Fcore%2Fuifw%2Fat-spi2-atk.git diff --git a/pyatspi/hypertext.py b/pyatspi/hypertext.py index 440f227..f8e428e 100644 --- a/pyatspi/hypertext.py +++ b/pyatspi/hypertext.py @@ -14,7 +14,7 @@ import interfaces from base import BaseProxy -from factory import add_accessible_class +from factory import accessible_factory __all__ = [ "Hypertext", @@ -64,7 +64,7 @@ class Hypertext(BaseProxy): func = self.get_dbus_method("getNLinks") return func(*args, **kwargs) -# ATTENTION - Register the Application class with the accessible factory. -add_accessible_class(interfaces.ATSPI_HYPERTEXT, Hypertext) +# Register the accessible class with the factory. +accessible_factory.register_accessible_class(interfaces.ATSPI_HYPERTEXT, Hypertext) #END----------------------------------------------------------------------------