[pyatspi2] Fix getTextBeforeOffset



commit 79412be0382ba9b7c4a727f2b77fd242b3faf936
Author: Mike Gorse <mgorse novell com>
Date:   Mon Aug 15 08:35:11 2011 -0500

    Fix getTextBeforeOffset

 pyatspi/text.py |    2 --
 1 files changed, 0 insertions(+), 2 deletions(-)
---
diff --git a/pyatspi/text.py b/pyatspi/text.py
index e59e943..0c08e22 100644
--- a/pyatspi/text.py
+++ b/pyatspi/text.py
@@ -466,8 +466,6 @@ class Text:
                 the resulting substring, if one exists. 
                 @return a string which is a substring of the text content of
                 the object, delimited by the specified boundary condition.
-                """
-                func = self.get_dbus_method("GetTextBeforeOffset", dbus_interface=ATSPI_TEXT)
                 ret = exwrap(Atspi.Text.get_text_before_offset, self.obj, offset, type)
                 return textRangeToList(ret)
 



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