[orca] Remove some pointless calls
- From: Joanmarie Diggs <joanied src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [orca] Remove some pointless calls
- Date: Tue, 28 Apr 2020 22:51:22 +0000 (UTC)
commit e87da750b09c28d40324d5901f2dbbf1b5961b39
Author: Joanmarie Diggs <jdiggs igalia com>
Date: Tue Apr 28 18:50:02 2020 -0400
Remove some pointless calls
We're not doing anything with the return values, and getCurrent() does
not set/update anything.
src/orca/scripts/default.py | 8 --------
1 file changed, 8 deletions(-)
---
diff --git a/src/orca/scripts/default.py b/src/orca/scripts/default.py
index 6af1cd34b..75308b0c8 100644
--- a/src/orca/scripts/default.py
+++ b/src/orca/scripts/default.py
@@ -1060,10 +1060,6 @@ class Script(script.Script):
#
self._setFlatReviewContextToBeginningOfBrailleDisplay()
- # TODO - JD: Why is this here?
- [charString, x, y, width, height] = \
- self.flatReviewContext.getCurrent(flat_review.Context.CHAR)
-
# TODO - JD: Why are we resetting the target cursor cell here?
oldCell = self.targetCursorCell
self.targetCursorCell = 1
@@ -1139,10 +1135,6 @@ class Script(script.Script):
#
self._setFlatReviewContextToBeginningOfBrailleDisplay()
- # TODO - JD: Why is this here?
- [charString, x, y, width, height] = \
- self.flatReviewContext.getCurrent(flat_review.Context.CHAR)
-
# TODO - JD: Why are we resetting the target cursor cell here?
oldCell = self.targetCursorCell
self.targetCursorCell = 1
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]