[pyatspi2] Fix for BGO#661613: Remove dbus-python crud from getOffsetAtPoint



commit 838da69abf59626b0b56c89aedfcbe506a53e1c9
Author: Mike Gorse <mgorse novell com>
Date:   Wed Oct 12 23:48:54 2011 -0500

    Fix for BGO#661613: Remove dbus-python crud from getOffsetAtPoint

 pyatspi/text.py |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/pyatspi/text.py b/pyatspi/text.py
index 1a3381d..de7fed0 100644
--- a/pyatspi/text.py
+++ b/pyatspi/text.py
@@ -319,7 +319,7 @@ class Text:
                 of the glyph whose onscreen bounds contain the point x,y, or
                 -1 if the point is outside the bounds of any glyph.
                 """
-                return exwrap(Atspi.Text.get_offset_at_point, self.obj, x, y, UInt32(coordType))
+                return exwrap(Atspi.Text.get_offset_at_point, self.obj, x, y, coordType)
 
         def getRangeExtents(self, startOffset, endOffset, coordType):
                 """



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]