From: Brad Taylor Date: Thu, 23 Apr 2009 09:59:19 +0000 (-0400) Subject: getRangeExtents only has 3 arguments X-Git-Tag: AT_SPI2_ATK_2_12_0~519 X-Git-Url: http://review.tizen.org/git/?p=platform%2Fcore%2Fuifw%2Fat-spi2-atk.git;a=commitdiff_plain;h=f90b676008bbe631fd7f4b461badb1365d8b7deb getRangeExtents only has 3 arguments --- diff --git a/pyatspi/text.py b/pyatspi/text.py index 5a36291..afcb565 100644 --- a/pyatspi/text.py +++ b/pyatspi/text.py @@ -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): """