[pyatspi2] Fix traceback in text.removeSelection()
- From: Mike Gorse <mgorse src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [pyatspi2] Fix traceback in text.removeSelection()
- Date: Mon, 17 Mar 2014 13:27:55 +0000 (UTC)
commit c6f04f1ee805ef8e4f3580c9fec935194f3c3131
Author: Joanmarie Diggs <jdiggs igalia com>
Date: Thu Mar 13 18:42:06 2014 -0400
Fix traceback in text.removeSelection()
pyatspi/text.py | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/pyatspi/text.py b/pyatspi/text.py
index 1231bec..417adee 100644
--- a/pyatspi/text.py
+++ b/pyatspi/text.py
@@ -531,7 +531,7 @@ class Text(interface):
@return True if the selection was successfully removed, False
otherwise.
"""
- return Atspi.Text.remove_selection(self.obj, index)
+ return Atspi.Text.remove_selection(self.obj, selectionNum)
def setCaretOffset(self, offset):
"""
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]