getRangeExtents only has 3 arguments
authorBrad Taylor <brad@getcoded.net>
Thu, 23 Apr 2009 09:59:19 +0000 (05:59 -0400)
committerBrad Taylor <brad@getcoded.net>
Thu, 23 Apr 2009 10:00:16 +0000 (06:00 -0400)
pyatspi/text.py

index 5a36291..afcb565 100644 (file)
@@ -339,7 +339,7 @@ class Text(Accessible):
                 func = self.get_dbus_method("getOffsetAtPoint", dbus_interface=ATSPI_TEXT)
                 return func(x, y, coordType)
 
-        def getRangeExtents(self, startOffset, endOffset, x, y, width, height, coordType):
+        def getRangeExtents(self, startOffset, endOffset, coordType):
                 """
                 Obtain the bounding box which entirely contains a given text
                 range. Negative values may be returned for the bounding box parameters
@@ -368,7 +368,7 @@ class Text(Accessible):
                 to the corner of the containing toplevel window.
                 """
                 func = self.get_dbus_method("getRangeExtents", dbus_interface=ATSPI_TEXT)
-                return func(startOffset, endOffset, x, y, width, height, coordType)
+                return func(startOffset, endOffset, coordType)
 
         def getSelection(self, selectionNum):
                 """