From f90b676008bbe631fd7f4b461badb1365d8b7deb Mon Sep 17 00:00:00 2001 From: Brad Taylor Date: Thu, 23 Apr 2009 05:59:19 -0400 Subject: [PATCH] getRangeExtents only has 3 arguments --- pyatspi/text.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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): """ -- 2.7.4